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

Harald Hoyer 2015-08-25 11:37:16 +02:00
parent 53537f4d23
commit 7c24815034
1 changed files with 1 additions and 1 deletions

View File

@ -433,7 +433,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