From 436ac37921c89a2c67ab14f6bb708eac10934581 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sat, 6 Oct 2007 01:12:38 +0200 Subject: [PATCH] Use /var/log/grml-live.log as log file --- debian/changelog | 2 ++ grml-live | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) 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" # }}} -- 2.1.4