Blame 0026-Revert-network-ifup.sh-default-to-dhcp-for-BOOTIF.patch

Harald Hoyer d1bf89
From f9ad49c2a59d1c452a2137a6332ff77afcde1be3 Mon Sep 17 00:00:00 2001
Harald Hoyer d1bf89
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer d1bf89
Date: Fri, 15 Jun 2012 11:55:59 +0200
Harald Hoyer d1bf89
Subject: [PATCH] Revert "network/ifup.sh: default to dhcp for BOOTIF"
Harald Hoyer d1bf89
Harald Hoyer d1bf89
This reverts commit bebb12fd0ec3cbb88006e384a9a277391a2f3a37.
Harald Hoyer d1bf89
---
Harald Hoyer d1bf89
 modules.d/40network/ifup.sh |    7 -------
Harald Hoyer d1bf89
 1 file changed, 7 deletions(-)
Harald Hoyer d1bf89
Harald Hoyer d1bf89
diff --git a/modules.d/40network/ifup.sh b/modules.d/40network/ifup.sh
Harald Hoyer d1bf89
index ae434a8..245b450 100755
Harald Hoyer d1bf89
--- a/modules.d/40network/ifup.sh
Harald Hoyer d1bf89
+++ b/modules.d/40network/ifup.sh
Harald Hoyer d1bf89
@@ -216,13 +216,6 @@ if [ "$netif" = "$vlanname" ] && [ ! -e /tmp/net.$vlanname.up ]; then
Harald Hoyer d1bf89
     ip link add dev "$vlanname" link "$phydevice" type vlan id "$(get_vid $vlanname; echo $?)"
Harald Hoyer d1bf89
 fi
Harald Hoyer d1bf89
 
Harald Hoyer d1bf89
-# BOOTIF= defaults to dhcpv4
Harald Hoyer d1bf89
-bootif=$(getargs BOOTIF=)
Harald Hoyer d1bf89
-if [ -n "$bootif" ] ; then
Harald Hoyer d1bf89
-    do_dhcp -4
Harald Hoyer d1bf89
-    exit 0
Harald Hoyer d1bf89
-fi
Harald Hoyer d1bf89
-
Harald Hoyer d1bf89
 # Specific configuration, spin through the kernel command line
Harald Hoyer d1bf89
 # looking for ip= lines
Harald Hoyer d1bf89
 for p in $(getargs ip=); do