summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authoravos <avos@FreeBSD.org>2016-05-02 21:40:34 +0000
committeravos <avos@FreeBSD.org>2016-05-02 21:40:34 +0000
commit7598159dbd8de2ac141a73572a54bc3ca78c4806 (patch)
tree8df0bf48021eccd44d08dff38a3ae78fc0ae634c /usr.sbin
parentdae8bb36cc88c77585c2ca3daf1a0f20f22e6476 (diff)
downloadFreeBSD-src-7598159dbd8de2ac141a73572a54bc3ca78c4806.zip
FreeBSD-src-7598159dbd8de2ac141a73572a54bc3ca78c4806.tar.gz
bsdinstall: fix static address assignment for protected wireless networks.
Filter out IFCONFIG_PREFIX variable (which may contain WPA keyword) from ifconfig parameters. PR: 169199
Diffstat (limited to 'usr.sbin')
-rwxr-xr-xusr.sbin/bsdinstall/scripts/netconfig_ipv42
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/scripts/netconfig_ipv4 b/usr.sbin/bsdinstall/scripts/netconfig_ipv4
index 88a0fa2..ffa9846 100755
--- a/usr.sbin/bsdinstall/scripts/netconfig_ipv4
+++ b/usr.sbin/bsdinstall/scripts/netconfig_ipv4
@@ -84,7 +84,7 @@ retval=$?
if [ "$BSDINSTALL_CONFIGCURRENT" ]; then
. $BSDINSTALL_TMPETC/._rc.conf.net
- ifconfig $INTERFACE `eval echo \\\$ifconfig_$INTERFACE`
+ ifconfig $INTERFACE `eval echo \\\$ifconfig_$INTERFACE | sed "s|$2||"`
if [ "$defaultrouter" ]; then
route delete -inet default
route add -inet default $defaultrouter
OpenPOWER on IntegriCloud