Blame 0062-network-netroot.sh-do-not-unset-root.patch
|
Harald Hoyer |
4413d3 |
From af2fcbafe8bdb30c34f440b76c37d535016d739f Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
4413d3 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
4413d3 |
Date: Tue, 19 Mar 2013 14:52:25 +0100
|
|
Harald Hoyer |
4413d3 |
Subject: [PATCH] network/netroot.sh: do not unset root
|
|
Harald Hoyer |
4413d3 |
|
|
Harald Hoyer |
4413d3 |
---
|
|
Harald Hoyer |
4413d3 |
modules.d/40network/netroot.sh | 3 ---
|
|
Harald Hoyer |
4413d3 |
1 file changed, 3 deletions(-)
|
|
Harald Hoyer |
4413d3 |
|
|
Harald Hoyer |
4413d3 |
diff --git a/modules.d/40network/netroot.sh b/modules.d/40network/netroot.sh
|
|
Harald Hoyer |
4413d3 |
index 8c7716b..9c481a8 100755
|
|
Harald Hoyer |
4413d3 |
--- a/modules.d/40network/netroot.sh
|
|
Harald Hoyer |
4413d3 |
+++ b/modules.d/40network/netroot.sh
|
|
Harald Hoyer |
4413d3 |
@@ -24,9 +24,6 @@ netif=$1
|
|
Harald Hoyer |
4413d3 |
# handlers when this is not called from manually network bringing up.
|
|
Harald Hoyer |
4413d3 |
if [ -z "$2" ]; then
|
|
Harald Hoyer |
4413d3 |
if [ "$netroot" = "dhcp" ] || [ "$netroot" = "dhcp6" ] ; then
|
|
Harald Hoyer |
4413d3 |
- # Unset root so we can check later
|
|
Harald Hoyer |
4413d3 |
- unset root
|
|
Harald Hoyer |
4413d3 |
-
|
|
Harald Hoyer |
4413d3 |
# Load dhcp options
|
|
Harald Hoyer |
4413d3 |
[ -e /tmp/dhclient.$netif.dhcpopts ] && . /tmp/dhclient.$netif.dhcpopts
|
|
Harald Hoyer |
4413d3 |
|