svn commit: r220351 - head/usr.sbin/bsdinstall/scripts
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Tue Apr 5 03:11:22 UTC 2011
Author: nwhitehorn
Date: Tue Apr 5 03:11:21 2011
New Revision: 220351
URL: http://svn.freebsd.org/changeset/base/220351
Log:
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.
Modified:
head/usr.sbin/bsdinstall/scripts/wlanconfig
Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/wlanconfig Tue Apr 5 03:09:44 2011 (r220350)
+++ head/usr.sbin/bsdinstall/scripts/wlanconfig Tue Apr 5 03:11:21 2011 (r220351)
@@ -60,7 +60,7 @@ NETWORKS=`echo "$SCAN_RESULTS" | awk -F
'/..:..:..:..:..:../ {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 $@
More information about the svn-src-head
mailing list