The netroot hook is no longer used. --- This is a left over from before Philippe's multinic work. dracut | 2 +- modules.d/40network/netroot | 3 --- 2 files changed, 1 insertions(+), 4 deletions(-) diff --git a/dracut b/dracut index f10af83..c71cc63 100755 --- a/dracut +++ b/dracut @@ -102,7 +102,7 @@ if [[ -f $outfile && ! $force ]]; then exit 1 fi -hookdirs="cmdline pre-udev pre-trigger netroot pre-mount pre-pivot mount emergency" +hookdirs="cmdline pre-udev pre-trigger pre-mount pre-pivot mount emergency" readonly initdir=$(mktemp -d -t initramfs.XXXXXX) trap 'rm -rf "$initdir"' 0 # clean up after ourselves no matter how we die. diff --git a/modules.d/40network/netroot b/modules.d/40network/netroot index f719d93..645bbba 100755 --- a/modules.d/40network/netroot +++ b/modules.d/40network/netroot @@ -92,9 +92,6 @@ done [ -e /tmp/net.$netif.hostname ] && . /tmp/net.$netif.hostname [ -e /tmp/net.$netif.resolv.conf ] && cp -f /tmp/net.$netif.resolv.conf /etc/resolv.conf -# Source netroot hooks before we start the handler -source_all netroot - # 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 -- 1.6.0.6 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html