diff options
-rwxr-xr-x | core/conf/rc.d/net | 3 |
1 files changed, 1 insertions, 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 ;; |