From 33aac1f44e84fa85f3237f9b54f590ce232e207b Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 24 Oct 2007 10:48:22 +0200 Subject: [PATCH 1/1] Unify logging of grml-live --- grml-live | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/grml-live b/grml-live index 16551cf..f4f299e 100755 --- a/grml-live +++ b/grml-live @@ -184,9 +184,6 @@ while getopts "a:c:g:i:o:r:s:t:v:FhV" opt; do esac done shift $(($OPTIND - 1)) # set ARGV to the first not parsed commandline parameter - -echo "Executing grml-live $GRML_LIVE_VERSION using the commandline:" >> $LOGFILE -echo "$(basename $0) $@" >> $LOGFILE # }}} # some misc checks before executing FAI {{{ @@ -222,13 +219,12 @@ if [ -z "$FORCE" ] ; then bailout 1 "Exiting as requested." fi echo - fi start_seconds=$(cut -d . -f 1 /proc/uptime) log "------------------------------------------------------------------------------" -log "Starting grml-live run [$(date)]" -log "Executed command line: $0 $*" +log "Starting grml-live [${GRML_LIVE_VERSION}] run [$(date)]" +log "Executed command line: $0 $@" # }}} # on-the-fly configuration {{{ -- 2.1.4