Patch: fai-savelog using empty path

Jens Rosenboom jens.rosenboom at freenet.ag
Wed Jun 3 13:54:33 CEST 2009


There was a patch recently for fai-savelog, but it has a bug
in setting the wrong variable at least in the current
3.2.21+experimental2 version, causing remote log saving to fail.
It should read:

--- /usr/lib/fai/fai-savelog.orig       2009-06-03 13:48:05.000000000 +0200
+++ /usr/lib/fai/fai-savelog    2009-06-03 13:48:19.000000000 +0200
@@ -60,9 +60,9 @@
 
     local thislogdir
     if [ -n "$LOGREMOTEDIR" ];then
-       thislog=$LOGREMOTEDIR/$HOSTNAME
+       thislogdir=$LOGREMOTEDIR/$HOSTNAME
     else
-       thislog=$HOSTNAME
+       thislogdir=$HOSTNAME
     fi
 
     local thislog

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20090603/c76adfe1/attachment.bin 


More information about the linux-fai mailing list