diff --git a/image/mkimg.sh b/image/mkimg.sh index 3e8b4812..87a65ebf 100755 --- a/image/mkimg.sh +++ b/image/mkimg.sh @@ -70,10 +70,6 @@ echo export GOROOT=/root/go >>/root/.bashrc echo export GOPATH=/root/go_path >>/root/.bashrc -#wifi watch -cp -f wifi_watch.sh mnt/usr/sbin/wifi_watch.sh -chmod +x mnt/usr/sbin/wifi_watch.sh - #rtl-sdr setup echo blacklist dvb_usb_rtl28xxu >>/etc/modprobe.d/rtl-sdr-blacklist.conf echo blacklist e4000 >>/etc/modprobe.d/rtl-sdr-blacklist.conf diff --git a/image/wifi_watch.sh b/image/wifi_watch.sh deleted file mode 100755 index d4dcf20d..00000000 --- a/image/wifi_watch.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -while true ; do - if ifconfig wlan0 | grep -q "UP BROADCAST RUNNING MULTICAST" ; then - sleep 30 - else - echo "Wi-Fi connection down! Attempting reconnection." - service hostapd restart - service isc-dhcp-server restart - sleep 10 - fi -done