[Fai-commit] r3381 - trunk/bin

fai-repository at svn.debian.org fai-repository at svn.debian.org
Fri Apr 7 13:34:20 UTC 2006


Author: lange
Date: 2006-04-07 13:34:19 +0000 (Fri, 07 Apr 2006)
New Revision: 3381

Modified:
   trunk/bin/fai
Log:
NFSROOT is needed for dirinst, eval_cmdline does not make sense for dirinst


Modified: trunk/bin/fai
===================================================================
--- trunk/bin/fai	2006-04-07 11:58:46 UTC (rev 3380)
+++ trunk/bin/fai	2006-04-07 13:34:19 UTC (rev 3381)
@@ -75,7 +75,7 @@
     fi
 
     # some variables from are not needed any more
-    unset NFSROOT FAI_CONFIGDIR installserver
+    unset FAI_CONFIGDIR installserver
 
     ostype=$(uname -s | tr A-Z a-z)
     # read subroutine definitions
@@ -134,7 +134,7 @@
     fi
 
     # if HOST was specified on the commandline, set hostname to it
-    eval_cmdline
+    [ $DO_INIT_TASKS -eq 1 ] && eval_cmdline
     if [ -n "$HOST" ]; then
 	HOSTNAME=$HOST
 	hostname $HOST




More information about the Fai-commit mailing list