summaryrefslogtreecommitdiffstats
path: root/usr/bin/autowifi
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-05-29 20:37:39 +0200
committermakefu <github@syntax-fehler.de>2013-05-29 20:37:39 +0200
commitb292dfe3dea7affa29e526c1328613f6e5ca8ed4 (patch)
tree450f2a05c43855e5268b5f1e6026fa83563bba15 /usr/bin/autowifi
parent3b3ad99602dbb7e03186c33c045774147b06da8b (diff)
move default_wps to back
Diffstat (limited to 'usr/bin/autowifi')
-rwxr-xr-xusr/bin/autowifi2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/bin/autowifi b/usr/bin/autowifi
index f5a177a0..55eaefcd 100755
--- a/usr/bin/autowifi
+++ b/usr/bin/autowifi
@@ -49,7 +49,7 @@ loop_over_networks(){
. /tmp/${wifi}.scan
for i in `seq 1 $WIFI_COUNT`; do
eval grep -q \${MAC_${i}} /etc/autowifi/blacklist && continue
- eval crack_wifi "\${ESSID_${i}}" \${MAC_${i}} \${CHANNEL_${i}} \${ENCRYPTION_${i}} \${WPA_${i}} \${WPA2_${i}} && break
+ eval crack_wifi \"\${ESSID_${i}}\" \"\${MAC_${i}}\" \${CHANNEL_${i}} \${ENCRYPTION_${i}} \${WPA_${i}} \${WPA2_${i}} && break
done
}