diff options
Diffstat (limited to 'core/conf/rc.d/wlan')
-rwxr-xr-x | core/conf/rc.d/wlan | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/conf/rc.d/wlan b/core/conf/rc.d/wlan index 263cf42..894a69c 100755 --- a/core/conf/rc.d/wlan +++ b/core/conf/rc.d/wlan @@ -33,6 +33,8 @@ case $1 in ( $SSD --stop --retry 10 --pidfile $PID_DHCP $SSD --stop --retry 10 --pidfile $PID_WIFI ) RETVAL=$? + /sbin/ip route del default dev ${DEV} + /sbin/ip route flush dev ${DEV} /sbin/ip link set ${DEV} down /sbin/ip addr flush dev ${DEV} ;; |