about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2016-09-28 01:49:17 +0100
committerSilvino Silva <silvino@bk.ru>2016-09-28 01:49:17 +0100
commita3640ac32ce718a3857d2eefddbe922a1caca68d (patch)
tree5ce993836af4e9cb9e32b449e50adbd3b688cd2b
parent7514d8a93d6c494b58af629f15f688c46de4926c (diff)
downloaddoc-a3640ac32ce718a3857d2eefddbe922a1caca68d.tar.gz
core rc.d/net revision
-rwxr-xr-xcore/conf/rc.d/net3
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
 		;;