From: Michael Prokop Date: Wed, 24 Oct 2007 08:48:22 +0000 (+0200) Subject: Unify logging of grml-live X-Git-Tag: 0.0.7~45 X-Git-Url: http://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=33aac1f44e84fa85f3237f9b54f590ce232e207b;hp=8fa72c0d34ffb96327ebd3008b5529465b54b88f Unify logging of grml-live --- 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 {{{