diff options
author | Silvino Silva <silvino@bk.ru> | 2016-09-28 01:49:17 +0100 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2016-09-28 01:49:17 +0100 |
commit | a3640ac32ce718a3857d2eefddbe922a1caca68d (patch) | |
tree | 5ce993836af4e9cb9e32b449e50adbd3b688cd2b | |
parent | 7514d8a93d6c494b58af629f15f688c46de4926c (diff) | |
download | doc-a3640ac32ce718a3857d2eefddbe922a1caca68d.tar.gz |
core rc.d/net revision
-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 ;; |