network/netroot.sh: remove the dhcp finished hook, if we have a handler

master
Harald Hoyer 2013-03-06 16:20:51 +01:00
parent b5859d6359
commit b59e9e5724
1 changed files with 1 additions and 0 deletions

View File

@ -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