Revert "network/ifup.sh: default to dhcp for BOOTIF"

This reverts commit bebb12fd0e.
master
Harald Hoyer 2012-06-15 11:55:59 +02:00
parent 3eca0cc846
commit f9ad49c2a5
1 changed files with 0 additions and 7 deletions

View File

@ -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 $?)" ip link add dev "$vlanname" link "$phydevice" type vlan id "$(get_vid $vlanname; echo $?)"
fi 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 # Specific configuration, spin through the kernel command line
# looking for ip= lines # looking for ip= lines
for p in $(getargs ip=); do for p in $(getargs ip=); do