From: Michael Prokop Date: Fri, 5 Oct 2007 23:12:38 +0000 (+0200) Subject: Use /var/log/grml-live.log as log file X-Git-Tag: 0.0.4~18 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=436ac37921c89a2c67ab14f6bb708eac10934581 Use /var/log/grml-live.log as log file --- diff --git a/debian/changelog b/debian/changelog index acb89c5..cc929ed 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,8 @@ grml-live (0.0.4) unstable; urgency=low "./MAKEDEV: No such file or directory" problem of some packages * Do not copy the initrd of chroot to boot/isolinux/ but instead move it to save a few more MBs of space. + * Use /var/log/grml-live.log as log file as /var/log/fai/* is too + dangerous because of automatic removal of the files/dirs via fai. -- Michael Prokop Thu, 04 Oct 2007 22:16:34 +0200 diff --git a/grml-live b/grml-live index 871fbb9..64e50a4 100755 --- a/grml-live +++ b/grml-live @@ -69,8 +69,7 @@ trap bailout 1 2 3 15 [ -n "$RELEASENAME" ] || RELEASENAME="grml-live rocks" [ -n "$GRML_NAME" ] || GRML_NAME='grml' -[ -n "$LOGDIR" ] || LOGDIR="/var/log/fai/dirinstall/$HOSTNAME" -[ -d "$LOGDIR" ] || mkdir -p $LOGDIR +[ -n "$LOGDIR" ] || LOGDIR="/var/log/" LOGFILE="$LOGDIR/grml-live.log" # }}}