Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (7 sloc) 188 Bytes
#!/bin/bash -e
while true
do
ping google.com -q -c1 && true || (sudo rfkill block wifi;
sleep 1; sudo rfkill unblock wifi; echo rebooted wireless; date; sleep 30)
sleep 10
done
You can’t perform that action at this time.