projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b6bdc3
)
network/netroot.sh: do not unset root
author
Harald Hoyer
<harald@redhat.com>
Tue, 19 Mar 2013 13:52:25 +0000
(14:52 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Tue, 19 Mar 2013 13:53:09 +0000
(14:53 +0100)
modules.d/40network/netroot.sh
patch
|
blob
|
history
diff --git
a/modules.d/40network/netroot.sh
b/modules.d/40network/netroot.sh
index
8c7716b
..
9c481a8
100755
(executable)
--- 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