diff options
| -rwxr-xr-x | files/etc/init.d/dnsmasq | 1 | ||||
| -rwxr-xr-x | files/sbin/test_gateway | 2 | 
2 files changed, 0 insertions, 3 deletions
diff --git a/files/etc/init.d/dnsmasq b/files/etc/init.d/dnsmasq index ccf70f0..1b934c0 100755 --- a/files/etc/init.d/dnsmasq +++ b/files/etc/init.d/dnsmasq @@ -366,7 +366,6 @@ start() {  	config_foreach dhcp_subscrid_add subscrid  	config_foreach dhcp_domain_add domain  	config_foreach dhcp_add dhcp -	echo $args  	/usr/sbin/dnsmasq $args && {  		rm -f /tmp/resolv.conf  		[ -n "$DOMAIN" ] && echo "search $DOMAIN" >> /tmp/resolv.conf diff --git a/files/sbin/test_gateway b/files/sbin/test_gateway index c6742a6..97296e2 100755 --- a/files/sbin/test_gateway +++ b/files/sbin/test_gateway @@ -6,12 +6,10 @@ if [ $? -ne 0 ] ; then          // IP not reachable -> try if-down-up          ifdown wan          ifup wan -        echo Problem we restart wan          sleep 10          // Test Again          ping -c 1 -w 5 4.2.2.4 &>/dev/null          if [ $? -ne 0 ] ; then -                echo "Mist"                  ifdown wan          fi  fi  | 
