]> xenbits.xensource.com Git - people/royger/freebsd.git/commitdiff
Sort the domains
authordteske <dteske@FreeBSD.org>
Tue, 13 Dec 2016 01:36:46 +0000 (01:36 +0000)
committerdteske <dteske@FreeBSD.org>
Tue, 13 Dec 2016 01:36:46 +0000 (01:36 +0000)
usr.sbin/bsdinstall/scripts/wlanconfig

index 9b8d27c7ba0cd0938337f7bd53bd716c1757b219..11c80fbc44d04f8f5972da05320bd315afac452c 100755 (executable)
@@ -96,7 +96,7 @@ dialog_country_select()
                        for (i = 1; i <= n; i++)
                                printf "'\''%s'\'' '\'\''", domains[i]
                }
-       ' )
+       ' | sort )
        countries=$( echo "$input" | awk '
                sub(/Country codes:/, ""), sub(/Regulatory.*/, "") {
                        while (match($0, /[[:upper:]][[:upper:][:digit:]] /)) {