summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2013-02-25 11:47:24 -0600
committerWilliam Hubbs <williamh@gentoo.org>2013-02-25 11:47:24 -0600
commit7275be68300a33f9b9bd6716553de29b6c1326c7 (patch)
tree25f63ea5986c8c24af99fa1926287bae07d4e615 /livecd-functions.sh
parentlivecd-functions.sh: do not hard code the path to ifconfig (diff)
downloadlivecd-tools-7275be68300a33f9b9bd6716553de29b6c1326c7.tar.gz
livecd-tools-7275be68300a33f9b9bd6716553de29b6c1326c7.tar.bz2
livecd-tools-7275be68300a33f9b9bd6716553de29b6c1326c7.zip
livecd-functions.sh: do not hard code the path to route
Diffstat (limited to 'livecd-functions.sh')
-rwxr-xr-xlivecd-functions.sh2
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