Permalink
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.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.