[Fai-commit] r4775 - trunk/bin

lange at alioth.debian.org lange at alioth.debian.org
Tue Nov 20 17:01:01 UTC 2007


Author: lange
Date: 2007-11-20 17:01:00 +0000 (Tue, 20 Nov 2007)
New Revision: 4775

Modified:
   trunk/bin/fai
Log:
replace $FAI_ACTION with $action, since at this stage, FAI_ACTION is
not defined yet


Modified: trunk/bin/fai
===================================================================
--- trunk/bin/fai	2007-11-20 15:44:35 UTC (rev 4774)
+++ trunk/bin/fai	2007-11-20 17:01:00 UTC (rev 4775)
@@ -265,8 +265,8 @@
     export fai_rundate=$(date +'%Y%m%d_%H%M%S')
     export LOGDIR=/var/log/fai/$HOSTNAME/$action-$fai_rundate
     mkdir -p $LOGDIR
-    ln -snf $FAI_ACTION-$fai_rundate $LOGDIR/../last-$FAI_ACTION
-    ln -snf $FAI_ACTION-$fai_rundate $LOGDIR/../last
+    ln -snf $action-$fai_rundate $LOGDIR/../last-$action
+    ln -snf $action-$fai_rundate $LOGDIR/../last
 fi
 chown root $LOGDIR
 chgrp adm  $LOGDIR




More information about the Fai-commit mailing list