summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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