From: Harald Hoyer Date: Tue, 19 Mar 2013 13:52:25 +0000 (+0100) Subject: network/netroot.sh: do not unset root X-Git-Tag: 027~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af2fcbafe8bdb30c34f440b76c37d535016d739f;p=thirdparty%2Fdracut.git network/netroot.sh: do not unset root --- diff --git a/modules.d/40network/netroot.sh b/modules.d/40network/netroot.sh index 8c7716bfd..9c481a8f9 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