Author: dteske Date: Mon Dec 12 18:33:40 2016 New Revision: 309910 URL: https://svnweb.freebsd.org/changeset/base/309910
Log: Remove unnecessary quotes around number in test Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ============================================================================== --- head/usr.sbin/bsdinstall/scripts/wlanconfig Mon Dec 12 18:29:24 2016 (r309909) +++ head/usr.sbin/bsdinstall/scripts/wlanconfig Mon Dec 12 18:33:40 2016 (r309910) @@ -177,9 +177,9 @@ if [ "$BSDINSTALL_CONFIGCURRENT" ]; then WLAN_IFACE=$( wpa_cli ifname | tail -n 1 ) INPUT=$( ifconfig $WLAN_IFACE list regdomain | head -n 1 ) DEF_REGDOMAIN=$( echo $INPUT | cut -w -f 2 ) - [ "$DEF_REGDOMAIN" = "0" ] && DEF_REGDOMAIN="<not selected>" + [ "$DEF_REGDOMAIN" = 0 ] && DEF_REGDOMAIN="<not selected>" DEF_COUNTRY=$( echo $INPUT | cut -w -f 4 ) - [ "$DEF_COUNTRY" = "0" ] && DEF_COUNTRY="<not selected>" + [ "$DEF_COUNTRY" = 0 ] && DEF_COUNTRY="<not selected>" dialog --backtitle "FreeBSD Installer" --title "Regdomain/country" \ --yesno "Change regdomain/country (now \ $DEF_REGDOMAIN/$DEF_COUNTRY)?" 0 0 _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"