diff options
author | William Hubbs <williamh@gentoo.org> | 2013-02-25 11:47:24 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2013-02-25 11:47:24 -0600 |
commit | 7275be68300a33f9b9bd6716553de29b6c1326c7 (patch) | |
tree | 25f63ea5986c8c24af99fa1926287bae07d4e615 | |
parent | livecd-functions.sh: do not hard code the path to ifconfig (diff) | |
download | livecd-tools-7275be68300a33f9b9bd6716553de29b6c1326c7.tar.gz livecd-tools-7275be68300a33f9b9bd6716553de29b6c1326c7.tar.bz2 livecd-tools-7275be68300a33f9b9bd6716553de29b6c1326c7.zip |
livecd-functions.sh: do not hard code the path to route
-rwxr-xr-x | livecd-functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/livecd-functions.sh b/livecd-functions.sh index b1a73cb..c9febd9 100755 --- a/livecd-functions.sh +++ b/livecd-functions.sh @@ -245,7 +245,7 @@ livecd_config_ip() { ifconfig ${iface} ${IP} broadcast ${BROADCAST} netmask ${NETMASK} if [ -n "${GATEWAY}" ] then - /sbin/route add default gw ${GATEWAY} dev ${iface} netmask 0.0.0.0 metric 1 + route add default gw ${GATEWAY} dev ${iface} netmask 0.0.0.0 metric 1 fi if [ -n "${DNS}" ] then |