Date: Mon, 12 Dec 2016 18:33:40 +0000 (UTC) From: Devin Teske <dteske@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r309910 - head/usr.sbin/bsdinstall/scripts Message-ID: <201612121833.uBCIXec9069057@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612121833.uBCIXec9069057>