summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-07-06 00:50:56 +0200
committermakefu <github@syntax-fehler.de>2013-07-06 00:50:56 +0200
commitfee2556cbbe8bfd3ac0e965baa36c39386c8605a (patch)
treed47dde20033cb33bc1800fe1226d16798b3bc68b /usr
parent8dd8d5e21cf7b5eb575a75b7313d6c554024237f (diff)
wpa_supplicant: fix broken regex
i wonder how this ever worked at all
Diffstat (limited to 'usr')
-rw-r--r--usr/lib/autowifi/lib/wpa_supplicant2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/lib/autowifi/lib/wpa_supplicant b/usr/lib/autowifi/lib/wpa_supplicant
index 234c0898..df9c2155 100644
--- a/usr/lib/autowifi/lib/wpa_supplicant
+++ b/usr/lib/autowifi/lib/wpa_supplicant
@@ -35,7 +35,7 @@ wifi_scan(){
wpa_cli scan >/dev/null
sleep 10
- wpa_cli scan_results 2>/dev/null | grep -E "^??:" | sed 's/ / /g' | (while IFS=' ' read MAC FREQ QUALITY ENCRYPTION ESSID
+ wpa_cli scan_results 2>/dev/null | egrep "^..:" | sed 's/ / /g' | (while IFS=' ' read MAC FREQ QUALITY ENCRYPTION ESSID
do
: $((count+=1))
print_wifi_env