Skip to content

Commit

Permalink
Merge pull request #969 from rern/UPDATE
Browse files Browse the repository at this point in the history
Update networks-scanwlan.sh
  • Loading branch information
rern authored Jul 10, 2022
2 parents 7058725 + 151c939 commit 488855c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions srv/http/bash/settings/networks-scanwlan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ scan=$( iwlist $wlandev scan \
| grep -E '^Cell|^ESSID|^Encryption|^IE.*WPA|^Quality' \
| sed -e 's/^Cell.*/},{/
s/^ESSID:/,"ssid":/
s/\\x00//g
s/^Encryption key:\(.*\)/,"encrypt":"\1"/
s/^IE.*WPA.*/,"wpa":true/
s/^Quality.*level.\(.*\)/,"signal":"\1"/' \
Expand Down

0 comments on commit 488855c

Please sign in to comment.