network/netroot.sh: do not unset root
authorHarald Hoyer <harald@redhat.com>
Tue, 19 Mar 2013 13:52:25 +0000 (14:52 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 19 Mar 2013 13:53:09 +0000 (14:53 +0100)
modules.d/40network/netroot.sh

index 8c7716b..9c481a8 100755 (executable)
@@ -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