diff options
author | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2011-09-16 09:37:13 +0000 |
---|---|---|
committer | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2011-09-16 09:37:13 +0000 |
commit | 3d50f9421e25361442e2d1067dd24fdfcfb692bd (patch) | |
tree | b0689fb0b137a5d2f562623f272ea492d3e662d5 | |
parent | 566dafa3602b29e6282182311a1825d064c8d230 (diff) | |
download | src-3d50f9421e25361442e2d1067dd24fdfcfb692bd.tar.gz src-3d50f9421e25361442e2d1067dd24fdfcfb692bd.zip |
Fix WPA setup broken by changes to shell argument passing inside the
installer network configuration.
PR: bin/159558
Approved by: re (kib)
Notes
Notes:
svn path=/head/; revision=225612
-rwxr-xr-x | usr.sbin/bsdinstall/scripts/netconfig_ipv4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/bsdinstall/scripts/netconfig_ipv4 b/usr.sbin/bsdinstall/scripts/netconfig_ipv4 index ec359d707635..8c225d48b463 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 |