From b59e9e57240644d79634dc1b6f708ee417dc2e39 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 6 Mar 2013 16:20:51 +0100 Subject: [PATCH] network/netroot.sh: remove the dhcp finished hook, if we have a handler --- modules.d/40network/netroot.sh | 1 + 1 file changed, 1 insertion(+) 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 -- 2.47.3