From 7275be68300a33f9b9bd6716553de29b6c1326c7 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 25 Feb 2013 11:47:24 -0600 Subject: livecd-functions.sh: do not hard code the path to route --- livecd-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-65-gdbad