Notice: the grml team is migrating from Mercurial to Git.
Please visit git.grml.org instead!
| author | Michael Prokop |
| Sun Nov 25 20:08:30 2007 +0100 (12 months ago) | |
| changeset 329 | c065ecc859d3 |
| manifest | c065ecc859d3 |
| parent 328 | 4a250c3cfd43 |
| child 330 | eed85ba007cf |
--- a/grml-live Sun Nov 25 19:57:13 2007 +0100+++ b/grml-live Sun Nov 25 20:08:30 2007 +0100@@ -4,7 +4,7 @@# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org># Bug-Reports: see http://grml.org/bugs/# License: This file is licensed under the GPL v2 or any later version.-# Latest change: Sun Nov 25 18:29:07 CET 2007 [mika]+# Latest change: Sun Nov 25 20:08:06 CET 2007 [mika]################################################################################# read configuration files, set some misc variables {{{@@ -68,6 +68,7 @@ bailout() {log "------------------------------------------------------------------------------"exit "$EXIT"}+# trap bailout 1 2 3 6 9 14 15trap bailout 1 2 3 15# }}}@@ -90,16 +91,15 @@ touch $LOGFILEtouch $LOGFILEchown root:adm $LOGFILEchmod 640 $LOGFILE-# clean/zero logfile:+# clean/zero grml-live logfile:if [ -n "$ZERO_LOGFILE" ] ; thenecho -n > $LOGFILEfi+# clean/zero/remove old FAI directory:if [ -n "$ZERO_FAI_LOGFILE" ] ; thenif [ -d /var/log/fai/"$HOSTNAME" ] ; then- rm -rf /var/log/fai/"$HOSTNAME"/"$(readlink last)"-# rm -rf /var/log/fai/"$HOSTNAME"/"$(readlink last-softupdate)"-# rm -rf /var/log/fai/"$HOSTNAME"/"$(readlink last-dirinstall)"+ rm -rf /var/log/fai/"$HOSTNAME"/"$(readlink /var/log/fai/"$HOSTNAME"/last)"fifi