[Fai-commit] r5487 - trunk/bin
Thomas Lange
lange at alioth.debian.org
Sat Jul 25 09:40:03 UTC 2009
Author: lange
Date: 2009-07-25 09:40:02 +0000 (Sat, 25 Jul 2009)
New Revision: 5487
Modified:
trunk/bin/policy-rc.d.fai
Log:
move some code
Modified: trunk/bin/policy-rc.d.fai
===================================================================
--- trunk/bin/policy-rc.d.fai 2009-07-24 15:49:38 UTC (rev 5486)
+++ trunk/bin/policy-rc.d.fai 2009-07-25 09:40:02 UTC (rev 5487)
@@ -2,16 +2,18 @@
# which init.d do we like to start?
+# do not start any daemons when make-fai-nfsroot is called
+echo $classes | grep -q NFSROOT
+if [ $? -eq 0 ]; then
+ exit 101
+fi
+
+
case "$1" in
udev)
# udev should not be started when make-fai-nfsroot is running
# it should be started when install clients are running
- echo $classes | grep -q NFSROOT
- if [ $? -eq 0 ]; then
- exit 101
- else
- exit 0
- fi
+ exit 0
;;
esac
More information about the Fai-commit
mailing list