From a3640ac32ce718a3857d2eefddbe922a1caca68d Mon Sep 17 00:00:00 2001 From: Silvino Silva Date: Wed, 28 Sep 2016 01:49:17 +0100 Subject: core rc.d/net revision --- core/conf/rc.d/net | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/conf/rc.d/net b/core/conf/rc.d/net index 117667b..2b94af0 100755 --- a/core/conf/rc.d/net +++ b/core/conf/rc.d/net @@ -23,7 +23,7 @@ case $1 in else /sbin/ip addr add ${ADDR}/${MASK} dev ${DEV} broadcast + /sbin/ip link set ${DEV} up - /sbin/ip route add default via ${GW} + #/sbin/ip route add default via ${GW} fi ;; stop) @@ -34,7 +34,6 @@ case $1 in # /sbin/ip route del default /sbin/ip route flush dev ${DEV} /sbin/ip link set ${DEV} down - # /sbin/ip addr del ${ADDR}/${MASK} dev ${DEV} /sbin/ip addr flush dev ${DEV} fi ;; -- cgit 1.4.1-2-gfad0