From 814c39b547212fc3e6be83a9ad749407e7cf4245 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 25 May 2013 01:08:09 +0200 Subject: temp: changed check_internet to check_gateway --- usr/bin/autowifi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usr/bin/autowifi') 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 -- cgit v1.2.3