From: Harald Hoyer Date: Wed, 6 Mar 2013 15:20:51 +0000 (+0100) Subject: network/netroot.sh: remove the dhcp finished hook, if we have a handler X-Git-Tag: 026~39 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b59e9e57240644d79634dc1b6f708ee417dc2e39;p=thirdparty%2Fdracut.git network/netroot.sh: remove the dhcp finished hook, if we have a handler --- diff --git a/modules.d/40network/netroot.sh b/modules.d/40network/netroot.sh index fa7e632d9..8c7716bfd 100755 --- a/modules.d/40network/netroot.sh +++ b/modules.d/40network/netroot.sh @@ -67,6 +67,7 @@ source_hook netroot $netif # Run the handler; don't store the root, it may change from device to device # XXX other variables to export? if $handler $netif $netroot $NEWROOT; then + rm -f $hookdir/initqueue/finished/dhcp.sh # Network rootfs mount successful - save interface info for ifcfg etc. save_netinfo $netif fi