[Fai-commit] r4772 - trunk/lib
lange at alioth.debian.org
lange at alioth.debian.org
Tue Nov 20 13:42:17 UTC 2007
Author: lange
Date: 2007-11-20 13:42:17 +0000 (Tue, 20 Nov 2007)
New Revision: 4772
Modified:
trunk/lib/fai-savelog
Log:
add comment
Modified: trunk/lib/fai-savelog
===================================================================
--- trunk/lib/fai-savelog 2007-11-19 18:35:02 UTC (rev 4771)
+++ trunk/lib/fai-savelog 2007-11-20 13:42:17 UTC (rev 4772)
@@ -38,6 +38,9 @@
local thislog=$logbase/$HOSTNAME/$FAI_ACTION-$fai_rundate
find $LOGDIR -xdev -size 0 -type f -exec rm {} \;
+ # create the symbolic links forcefully; in case of dirinstalls or
+ # softupdates they already exist as the fai script creates them together
+ # with the directory $LOGDIR
ln -snf $FAI_ACTION-$fai_rundate $LOGDIR/../last-$FAI_ACTION
ln -snf $FAI_ACTION-$fai_rundate $LOGDIR/../last
More information about the Fai-commit
mailing list