aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bsdinstall/scripts
diff options
context:
space:
mode:
authorDevin Teske <dteske@FreeBSD.org>2016-12-13 02:11:09 +0000
committerDevin Teske <dteske@FreeBSD.org>2016-12-13 02:11:09 +0000
commit5943bcd19f8450210c072fbd0cfbac1aff7e2426 (patch)
treefbe078c785edf3abc229baada5aa728fdda577dc /usr.sbin/bsdinstall/scripts
parent191441eed8d58efba8e61200aa46abe48ee73918 (diff)
Notes
Diffstat (limited to 'usr.sbin/bsdinstall/scripts')
-rwxr-xr-xusr.sbin/bsdinstall/scripts/wlanconfig39
1 files changed, 19 insertions, 20 deletions
diff --git a/usr.sbin/bsdinstall/scripts/wlanconfig b/usr.sbin/bsdinstall/scripts/wlanconfig
index 1d2f6060a8271..9b26196d551d3 100755
--- a/usr.sbin/bsdinstall/scripts/wlanconfig
+++ b/usr.sbin/bsdinstall/scripts/wlanconfig
@@ -183,7 +183,6 @@ if ! wpa_cli ping > /dev/null 2>&1; then
fi
fi
-
#
# There is no way to check country/regdomain without (possible)
# interface state modification
@@ -283,13 +282,13 @@ done
if echo $ENCRYPTION | grep -q 'PSK'; then
PASS=$( $DIALOG \
- --title "WPA Setup" \
- --backtitle "$DIALOG_BACKTITLE" \
- --insecure \
- --mixedform "" \
- 0 0 0 \
+ --title "WPA Setup" \
+ --backtitle "$DIALOG_BACKTITLE" \
+ --insecure \
+ --mixedform "" \
+ 0 0 0 \
"SSID" 1 0 "$NETWORK" 1 12 0 0 2 \
- "Password" 2 0 "" 2 12 15 63 1 \
+ "Password" 2 0 "" 2 12 15 63 1 \
2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD
) || exec "$0" "$@"
awk 'sub(/^\t/,"")||1' \
@@ -303,14 +302,14 @@ if echo $ENCRYPTION | grep -q 'PSK'; then
EOF
elif echo $ENCRYPTION | grep -q EAP; then
USERPASS=$( $DIALOG \
- --title "WPA-Enterprise Setup" \
- --backtitle "$DIALOG_BACKTITLE" \
- --insecure \
- --mixedform "" \
- 0 0 0 \
+ --title "WPA-Enterprise Setup" \
+ --backtitle "$DIALOG_BACKTITLE" \
+ --insecure \
+ --mixedform "" \
+ 0 0 0 \
"SSID" 1 0 "$NETWORK" 1 12 0 0 2 \
- "Username" 2 0 "" 2 12 25 63 0 \
- "Password" 3 0 "" 3 12 25 63 1 \
+ "Username" 2 0 "" 2 12 25 63 0 \
+ "Password" 3 0 "" 3 12 25 63 1 \
2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD
) || exec "$0" "$@"
awk 'sub(/^\t/,"")||1' \
@@ -328,13 +327,13 @@ elif echo $ENCRYPTION | grep -q EAP; then
EOF
elif echo $ENCRYPTION | grep -q WEP; then
WEPKEY=$( $DIALOG \
- --title "WEP Setup" \
- --backtitle "$DIALOG_BACKTITLE" \
- --insecure \
- --mixedform "" \
- 0 0 0 \
+ --title "WEP Setup" \
+ --backtitle "$DIALOG_BACKTITLE" \
+ --insecure \
+ --mixedform "" \
+ 0 0 0 \
"SSID" 1 0 "$NETWORK" 1 12 0 0 2 \
- "WEP Key 0" 2 0 "" 2 12 15 0 1 \
+ "WEP Key 0" 2 0 "" 2 12 15 0 1 \
2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD
) || exec "$0" "$@"
awk 'sub(/^\t/,"")||1' \