Date: Tue, 5 Apr 2011 03:11:22 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r220351 - head/usr.sbin/bsdinstall/scripts Message-ID: <201104050311.p353BMBg003773@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 $@
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104050311.p353BMBg003773>