summaryrefslogtreecommitdiffstats
path: root/0062-network-netroot.sh-do-not-unset-root.patch
diff options
context:
space:
mode:
Diffstat (limited to '0062-network-netroot.sh-do-not-unset-root.patch')
-rw-r--r--0062-network-netroot.sh-do-not-unset-root.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/0062-network-netroot.sh-do-not-unset-root.patch b/0062-network-netroot.sh-do-not-unset-root.patch
new file mode 100644
index 0000000..4f9a4cc
--- /dev/null
+++ b/0062-network-netroot.sh-do-not-unset-root.patch
@@ -0,0 +1,23 @@
+From af2fcbafe8bdb30c34f440b76c37d535016d739f Mon Sep 17 00:00:00 2001
+From: Harald Hoyer <harald@redhat.com>
+Date: Tue, 19 Mar 2013 14:52:25 +0100
+Subject: [PATCH] network/netroot.sh: do not unset root
+
+---
+ modules.d/40network/netroot.sh | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/modules.d/40network/netroot.sh b/modules.d/40network/netroot.sh
+index 8c7716b..9c481a8 100755
+--- a/modules.d/40network/netroot.sh
++++ b/modules.d/40network/netroot.sh
+@@ -24,9 +24,6 @@ netif=$1
+ # handlers when this is not called from manually network bringing up.
+ if [ -z "$2" ]; then
+ if [ "$netroot" = "dhcp" ] || [ "$netroot" = "dhcp6" ] ; then
+- # Unset root so we can check later
+- unset root
+-
+ # Load dhcp options
+ [ -e /tmp/dhclient.$netif.dhcpopts ] && . /tmp/dhclient.$netif.dhcpopts
+