summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2011-09-16 09:37:13 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2011-09-16 09:37:13 +0000
commit947dc3a65be514e48305bb74bfaee14114b07af3 (patch)
treeb0689fb0b137a5d2f562623f272ea492d3e662d5 /usr.sbin
parent498c9ab8d112e92470b9014fe627a02c98573298 (diff)
downloadFreeBSD-src-947dc3a65be514e48305bb74bfaee14114b07af3.zip
FreeBSD-src-947dc3a65be514e48305bb74bfaee14114b07af3.tar.gz
Fix WPA setup broken by changes to shell argument passing inside the
installer network configuration. PR: bin/159558 Approved by: re (kib)
Diffstat (limited to 'usr.sbin')
-rwxr-xr-xusr.sbin/bsdinstall/scripts/netconfig_ipv41
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/bsdinstall/scripts/netconfig_ipv4 b/usr.sbin/bsdinstall/scripts/netconfig_ipv4
index ec359d7..8c225d4 100755
--- a/usr.sbin/bsdinstall/scripts/netconfig_ipv4
+++ b/usr.sbin/bsdinstall/scripts/netconfig_ipv4
@@ -35,6 +35,7 @@
INTERFACE=$1
IFCONFIG_PREFIX="$2"
+test -z "$IFCONFIG_PREFIX" || IFCONFIG_PREFIX="$2 "
case "${INTERFACE}" in
"") dialog --backtitle 'FreeBSD Installer' --title 'Network Configuration' \
--msgbox 'No interface specified for IPv4 configuration.' 0 0
OpenPOWER on IntegriCloud