[Fai-commit] r6617 - trunk/bin

Thomas Lange lange at alioth.debian.org
Wed Jul 20 17:11:03 UTC 2011


Author: lange
Date: 2011-07-20 17:11:03 +0000 (Wed, 20 Jul 2011)
New Revision: 6617

Modified:
   trunk/bin/fai
Log:
do not exit if /etc/fai does not exist.

This will be the case during newtork installation


Modified: trunk/bin/fai
===================================================================
--- trunk/bin/fai	2011-07-20 16:37:21 UTC (rev 6616)
+++ trunk/bin/fai	2011-07-20 17:11:03 UTC (rev 6617)
@@ -47,10 +47,6 @@
 
     umask 022
     mkdir -p /var/run/fai
-    if [ ! -d "$FAI_ETC_DIR" ]; then
-	echo "$FAI_ETC_DIR is not a directory"
-	exit 6
-    fi
     [ -f $FAI_ETC_DIR/fai.conf ] && . $FAI_ETC_DIR/fai.conf
     : ${FAI:=/var/lib/fai/config} # default value
     : ${MNTPOINT:=/media/mirror}  # default value




More information about the Fai-commit mailing list