]> xenbits.xensource.com Git - people/royger/freebsd.git/commitdiff
Revert r309918 -- modern POSIX has deprecated -<#>/+<#> syntax
authordteske <dteske@FreeBSD.org>
Tue, 13 Dec 2016 22:31:49 +0000 (22:31 +0000)
committerdteske <dteske@FreeBSD.org>
Tue, 13 Dec 2016 22:31:49 +0000 (22:31 +0000)
Special thanks to: jilles

usr.sbin/bsdinstall/scripts/wlanconfig

index b7b150bd75ff12f39f70f4c1ccfc731e80324252..130f1e06419a0c38e6556d7606931a93fb4ecd72 100755 (executable)
@@ -185,8 +185,8 @@ fi
 #
 if [ "$BSDINSTALL_CONFIGCURRENT" ]; then
        # Get current country/regdomain for selected interface
-       WLAN_IFACE=$( wpa_cli ifname | tail -1 )
-       INPUT=$( ifconfig "$WLAN_IFACE" list regdomain | head -1 )
+       WLAN_IFACE=$( wpa_cli ifname | tail -1 )
+       INPUT=$( ifconfig "$WLAN_IFACE" list regdomain | head -1 )
        DEF_REGDOMAIN=$( echo "$INPUT" | cut -w -f 2 )
        DEF_COUNTRY=$( echo "$INPUT" | cut -w -f 4 )
        [ "$DEF_REGDOMAIN" = 0 ] && DEF_REGDOMAIN="<not selected>"