[Fai-commit] r3677 - people/eartoast/features/clean-rcs/lib

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Tue Jul 25 11:29:16 UTC 2006


Author: glaweh-guest
Date: 2006-07-25 11:29:15 +0000 (Tue, 25 Jul 2006)
New Revision: 3677

Modified:
   people/eartoast/features/clean-rcs/lib/get-config-dir
Log:
only run mkrw if DO_INIT_TASKS is 1


Modified: people/eartoast/features/clean-rcs/lib/get-config-dir
===================================================================
--- people/eartoast/features/clean-rcs/lib/get-config-dir	2006-07-25 10:39:50 UTC (rev 3676)
+++ people/eartoast/features/clean-rcs/lib/get-config-dir	2006-07-25 11:29:15 UTC (rev 3677)
@@ -3,7 +3,7 @@
 
 # get /fai directory, using the method specified in $FAI_CONFIG_METHOD
 
-mkrw -s 100m $FAI
+[ $DO_INIT_TASKS -eq 1 ] && mkrw -s 100m $FAI
 # now you have enough time to make changes to the config space
 if [ -n "$fl_wait" ]; then
 	echo "Sleeping. Now you may change the config space in $FAI."




More information about the Fai-commit mailing list