diff --git a/scripts/check_wan4.sh b/scripts/check_wan4.sh index f5ffee9..afc89ad 100755 --- a/scripts/check_wan4.sh +++ b/scripts/check_wan4.sh @@ -6,10 +6,8 @@ while true; do network_get_gateway NET_GW "${NET_IF}" r=`ping -c1 "${NET_GW}" 2>&1` - #r=`echo $r | grep permitted` case $r in *permitted* ) /etc/init.d/firewall restart ;; esac - # /etc/init.d/firewall restart sleep 2 done