network: handle "ip=dhcp6" for all interfaces

https://bugzilla.redhat.com/show_bug.cgi?id=1064365
master
Harald Hoyer 2014-03-25 15:39:56 +01:00
parent 3aaf6ccc83
commit 2c7f7a337a
1 changed files with 6 additions and 1 deletions

View File

@ -364,7 +364,12 @@ fi

# no ip option directed at our interface?
if [ ! -e /tmp/net.${netif}.up ]; then
do_dhcp -4
if getargs 'ip=dhcp6'; then
load_ipv6
do_dhcp -6
else
do_dhcp -4
fi
fi

exit 0