Author: dteske
Date: Mon Dec 12 19:10:39 2016
New Revision: 309926
URL: https://svnweb.freebsd.org/changeset/base/309926

Log:
  Now that these variables do not contain the --default-item flag itself,
  change the name of the variable from $def_item_... to $default_...

Modified:
  head/usr.sbin/bsdinstall/scripts/wlanconfig

Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/wlanconfig Mon Dec 12 19:10:14 2016        
(r309925)
+++ head/usr.sbin/bsdinstall/scripts/wlanconfig Mon Dec 12 19:10:39 2016        
(r309926)
@@ -81,8 +81,8 @@ dialog_country_select()
 {
        local input regdomains countries regdomain country
        local no_default="<not selected>"
-       local def_item_regdomain="${1:-$no_default}"
-       local def_item_country="${2:-$no_default}"
+       local default_regdomain="${1:-$no_default}"
+       local default_country="${2:-$no_default}"
 
        #
        # Parse available countries/regdomains
@@ -112,7 +112,7 @@ dialog_country_select()
                --backtitle \"$DIALOG_BACKTITLE\" \
                --title \"Regdomain selection\" \
                --cancel-label \"Skip\" \
-               --default-item \"$def_item_regdomain\" \
+               --default-item \"$default_regdomain\" \
                --no-items \
                --stdout \
                --menu \"Select your regdomain.\" \
@@ -126,7 +126,7 @@ dialog_country_select()
                --backtitle \"$DIALOG_BACKTITLE\" \
                --title \"Country selection\" \
                --cancel-label \"Skip\" \
-               --default-item \"$def_item_country\" \
+               --default-item \"$default_country\" \
                --stdout \
                --menu \"Select your country.\" \
                $height $width $rows $countries"
_______________________________________________
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"

Reply via email to