summaryrefslogtreecommitdiffstats
path: root/usr/bin
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2013-05-25 01:02:53 +0200
committerlassulus <lassulus@googlemail.com>2013-05-25 01:02:53 +0200
commit9e5ca86134a61e1d953bb5a8f438f589df414347 (patch)
tree4e209f52775ccdde293a01db4b4579ce50403759 /usr/bin
parentd1512e39e5d847fe5c51bb085213bde6913dedc8 (diff)
shorter sleep
Diffstat (limited to 'usr/bin')
-rwxr-xr-xusr/bin/autowifi2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/bin/autowifi b/usr/bin/autowifi
index a960bf01..62ae2838 100755
--- a/usr/bin/autowifi
+++ b/usr/bin/autowifi
@@ -89,7 +89,7 @@ crack_wifi(){
ret=$?
if [ $ret -eq 0 ];then
connect_wifi "$3" "$1" $encr "$key"
- sleep 30
+ sleep 5
if check_gateway; then
(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