bsdinstall: fix static address assignment for protected wireless networks.
Filter out IFCONFIG_PREFIX variable (which may contain WPA keyword) from ifconfig parameters. PR: 169199
This commit is contained in:
parent
afd6748258
commit
6d8e01b078
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user