Check correctly for whether there are any available wireless networks. This
was tested on a train in the middle of an upstate New York swamp.
This commit is contained in:
parent
bf61104672
commit
1b7ba92c16
@ -60,7 +60,7 @@ NETWORKS=`echo "$SCAN_RESULTS" | awk -F '\t' \
|
||||
'/..:..:..:..:..:../ {if (length($5) > 0) printf("\"%s\"\t%s\n", $5, $4);}' |
|
||||
sort | uniq`
|
||||
|
||||
if [ -z $SCAN_RESULTS ]; then
|
||||
if [ -z $NETWORKS ]; then
|
||||
dialog --backtitle "FreeBSD Installer" --title "Error" \
|
||||
--yesno "No wireless networks were found. Rescan?" 0 0 && \
|
||||
exec $0 $@
|
||||
|
Loading…
Reference in New Issue
Block a user