summaryrefslogtreecommitdiffstats
path: root/usr/bin/autowifi
diff options
context:
space:
mode:
Diffstat (limited to 'usr/bin/autowifi')
-rwxr-xr-xusr/bin/autowifi5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/bin/autowifi b/usr/bin/autowifi
index b8ba1482..f0bfd83d 100755
--- a/usr/bin/autowifi
+++ b/usr/bin/autowifi
@@ -151,4 +151,9 @@ elif [ -n "$1" ]; then
else
echo looping network now
loop_over_networks
+ while sleep 60; do
+ if ! check_internet; then
+ loop_over_networks
+ fi
+ done
fi