netroot: actually run netroot hooks
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>master
parent
ba7fa583bf
commit
a2a74022e2
|
|
@ -123,7 +123,7 @@ if [ -n "$dest" ] && ! arping -q -f -w 60 -I $netif $dest ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Source netroot hooks before we start the handler
|
# 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
|
# Run the handler; don't store the root, it may change from device to device
|
||||||
# XXX other variables to export?
|
# XXX other variables to export?
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue