network/ifup.sh: only use dhcp on unknown interfaces for ip=dhcp

(cherry picked from commit 7c24815034)
master
Harald Hoyer 2015-08-25 11:37:16 +02:00
parent 26fbe97bbe
commit 686f9675df
1 changed files with 1 additions and 1 deletions

View File

@ -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