summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2013-05-25 01:08:09 +0200
committerlassulus <lassulus@googlemail.com>2013-05-25 01:08:09 +0200
commit814c39b547212fc3e6be83a9ad749407e7cf4245 (patch)
tree5f11bef6603273a734246b49f66cfc19adb016a1
parent773191cb6d6d0f886b8a2e65f1524e66152bb30f (diff)
temp: changed check_internet to check_gateway
-rwxr-xr-xusr/bin/autowifi3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/bin/autowifi b/usr/bin/autowifi
index bcc8f031..28b24808 100755
--- a/usr/bin/autowifi
+++ b/usr/bin/autowifi
@@ -94,8 +94,7 @@ crack_wifi(){
(cat /etc/autowifi/wifi_keys | grep -v "$1|$2|" ; echo "$1|$2|$key" ) | sort | uniq > /etc/autowifi/wifi_keys2
mv /etc/autowifi/wifi_keys2 /etc/autowifi/wifi_keys
echo "yay gateway"
- sleep 60
- check_internet && all_led none && return 0
+ check_gateway && all_led none && return 0
fi
fi
done