]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
netroot: actually run netroot hooks
authorWill Woods <wwoods@redhat.com>
Tue, 24 Jan 2012 18:09:34 +0000 (13:09 -0500)
committerHarald Hoyer <harald@redhat.com>
Wed, 25 Jan 2012 08:45:54 +0000 (09:45 +0100)
The line "source_all netroot" was trying to source netroot hooks from
/netroot, which doesn't exist, so netroot hooks were never executed.

Signed-off-by: Will Woods <wwoods@redhat.com>
modules.d/40network/netroot

index 9d996cc1cf4bbdaa8f3123ad84bb13dbb83e05ff..bda34df4e00e5d9c74a60f43fd9ca94ec42c8e2a 100755 (executable)
@@ -123,7 +123,7 @@ if [ -n "$dest" ] && ! arping -q -f -w 60 -I $netif $dest ; then
 fi
 
 # Source netroot hooks before we start the handler
-source_all netroot
+source_all $hookdir/netroot
 
 # Run the handler; don't store the root, it may change from device to device
 # XXX other variables to export?