network/ifup.sh: only use dhcp on unknown interfaces for ip=dhcp
parent
53537f4d23
commit
7c24815034
|
|
@ -433,7 +433,7 @@ if [ ! -e /tmp/net.${netif}.up ]; then
|
||||||
if getargs 'ip=dhcp6'; then
|
if getargs 'ip=dhcp6'; then
|
||||||
load_ipv6
|
load_ipv6
|
||||||
do_dhcp -6
|
do_dhcp -6
|
||||||
else
|
elif getargs 'ip=dhcp'; then
|
||||||
do_dhcp -4
|
do_dhcp -4
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue