Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
9 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.