Blame 0066-netroot-actually-run-netroot-hooks.patch

Harald Hoyer 8e216f
From a2a74022e2db0cc44ab68a846c3acafd9df1d971 Mon Sep 17 00:00:00 2001
Harald Hoyer 8e216f
From: Will Woods <wwoods@redhat.com>
Harald Hoyer 8e216f
Date: Tue, 24 Jan 2012 13:09:34 -0500
Harald Hoyer 8e216f
Subject: [PATCH] netroot: actually run netroot hooks
Harald Hoyer 8e216f
Harald Hoyer 8e216f
The line "source_all netroot" was trying to source netroot hooks from
Harald Hoyer 8e216f
/netroot, which doesn't exist, so netroot hooks were never executed.
Harald Hoyer 8e216f
Harald Hoyer 8e216f
Signed-off-by: Will Woods <wwoods@redhat.com>
Harald Hoyer 8e216f
---
Harald Hoyer 8e216f
 modules.d/40network/netroot |    2 +-
Harald Hoyer 8e216f
 1 files changed, 1 insertions(+), 1 deletions(-)
Harald Hoyer 8e216f
Harald Hoyer 8e216f
diff --git a/modules.d/40network/netroot b/modules.d/40network/netroot
Harald Hoyer 8e216f
index 9d996cc..bda34df 100755
Harald Hoyer 8e216f
--- a/modules.d/40network/netroot
Harald Hoyer 8e216f
+++ b/modules.d/40network/netroot
Harald Hoyer 8e216f
@@ -123,7 +123,7 @@ if [ -n "$dest" ] && ! arping -q -f -w 60 -I $netif $dest ; then
Harald Hoyer 8e216f
 fi
Harald Hoyer 8e216f
 
Harald Hoyer 8e216f
 # Source netroot hooks before we start the handler
Harald Hoyer 8e216f
-source_all netroot
Harald Hoyer 8e216f
+source_all $hookdir/netroot
Harald Hoyer 8e216f
 
Harald Hoyer 8e216f
 # Run the handler; don't store the root, it may change from device to device
Harald Hoyer 8e216f
 # XXX other variables to export?