network/ifup.sh: only use dhcp on unknown interfaces for ip=dhcp
(cherry picked from commit 7c24815034
)
master
parent
26fbe97bbe
commit
686f9675df
|
@ -410,7 +410,7 @@ if [ ! -e /tmp/net.${netif}.up ]; then
|
|||
if getargs 'ip=dhcp6'; then
|
||||
load_ipv6
|
||||
do_dhcp -6
|
||||
else
|
||||
elif getargs 'ip=dhcp'; then
|
||||
do_dhcp -4
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue