diff --git a/modules.d/40network/ifup.sh b/modules.d/40network/ifup.sh index dd47e4bd..b83d7e72 100755 --- a/modules.d/40network/ifup.sh +++ b/modules.d/40network/ifup.sh @@ -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