[Fai-commit] r4592 - in trunk: bin conf
lange at alioth.debian.org
lange at alioth.debian.org
Mon Sep 17 10:19:07 UTC 2007
Author: lange
Date: 2007-09-17 10:19:07 +0000 (Mon, 17 Sep 2007)
New Revision: 4592
Modified:
trunk/bin/make-fai-nfsroot
trunk/conf/make-fai-nfsroot.conf
Log:
rename $FAI_HOOK_DIR to $NFSROOT_HOOKS
Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot 2007-09-17 10:12:20 UTC (rev 4591)
+++ trunk/bin/make-fai-nfsroot 2007-09-17 10:19:07 UTC (rev 4592)
@@ -431,12 +431,12 @@
run_hooks() {
local file
- if [ -z "$FAI_HOOK_DIR" ]; then
+ if [ -z "$NFSROOT_HOOKS" ]; then
return
fi
- if [ -d "$FAI_HOOK_DIR" ]; then
+ if [ -d "$NFSROOT_HOOKS" ]; then
echo "Running hooks..."
- for file in `ls $FAI_HOOK_DIR/* 2>/dev/null`; do
+ for file in `ls $NFSROOT_HOOKS/* 2>/dev/null`; do
. $file
done
fi
Modified: trunk/conf/make-fai-nfsroot.conf
===================================================================
--- trunk/conf/make-fai-nfsroot.conf 2007-09-17 10:12:20 UTC (rev 4591)
+++ trunk/conf/make-fai-nfsroot.conf 2007-09-17 10:19:07 UTC (rev 4592)
@@ -24,7 +24,7 @@
# directory of hooks to be sourced at the end of make-fai-nfsroot,
# i.e they have to be shell scripts.
-#FAI_HOOK_DIR=/etc/fai/make-fai-nfsroot-hooks/
+#NFSROOT_HOOKS=/etc/fai/nfsroot-hooks/
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# following lines should be read only for most of you
More information about the Fai-commit
mailing list