From 71ef4d586ac7d29d2054ec6d4c68ca784c80332d Mon Sep 17 00:00:00 2001 From: Devin Teske Date: Mon, 12 Dec 2016 19:10:39 +0000 Subject: [PATCH] Now that these variables do not contain the --default-item flag itself, change the name of the variable from $def_item_... to $default_... --- usr.sbin/bsdinstall/scripts/wlanconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.sbin/bsdinstall/scripts/wlanconfig b/usr.sbin/bsdinstall/scripts/wlanconfig index 34a3a6da0cb..22f68da22a5 100755 --- a/usr.sbin/bsdinstall/scripts/wlanconfig +++ b/usr.sbin/bsdinstall/scripts/wlanconfig @@ -81,8 +81,8 @@ dialog_country_select() { local input regdomains countries regdomain country local no_default="" - 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"