diff options
author | lassulus <lassulus@googlemail.com> | 2013-05-25 01:08:09 +0200 |
---|---|---|
committer | lassulus <lassulus@googlemail.com> | 2013-05-25 01:08:09 +0200 |
commit | 814c39b547212fc3e6be83a9ad749407e7cf4245 (patch) | |
tree | 5f11bef6603273a734246b49f66cfc19adb016a1 | |
parent | 773191cb6d6d0f886b8a2e65f1524e66152bb30f (diff) |
temp: changed check_internet to check_gateway
-rwxr-xr-x | usr/bin/autowifi | 3 |
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 |