]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Revert "network/ifup.sh: default to dhcp for BOOTIF"
authorHarald Hoyer <harald@redhat.com>
Fri, 15 Jun 2012 09:55:59 +0000 (11:55 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 15 Jun 2012 09:55:59 +0000 (11:55 +0200)
This reverts commit bebb12fd0ec3cbb88006e384a9a277391a2f3a37.

modules.d/40network/ifup.sh

index ae434a8af53456a4f90b68a488b9180a728c0919..245b450e6fe2e20185e832812e6ff9e630775068 100755 (executable)
@@ -216,13 +216,6 @@ if [ "$netif" = "$vlanname" ] && [ ! -e /tmp/net.$vlanname.up ]; then
     ip link add dev "$vlanname" link "$phydevice" type vlan id "$(get_vid $vlanname; echo $?)"
 fi
 
-# BOOTIF= defaults to dhcpv4
-bootif=$(getargs BOOTIF=)
-if [ -n "$bootif" ] ; then
-    do_dhcp -4
-    exit 0
-fi
-
 # Specific configuration, spin through the kernel command line
 # looking for ip= lines
 for p in $(getargs ip=); do