projects
/
grml-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8fa72c0
)
Unify logging of grml-live
author
Michael Prokop
<devnull@localhost>
Wed, 24 Oct 2007 08:48:22 +0000
(10:48 +0200)
committer
Michael Prokop
<devnull@localhost>
Wed, 24 Oct 2007 08:48:22 +0000
(10:48 +0200)
grml-live
patch
|
blob
|
history
diff --git
a/grml-live
b/grml-live
index
16551cf
..
f4f299e
100755
(executable)
--- 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
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 {{{
# }}}
# some misc checks before executing FAI {{{
@@
-222,13
+219,12
@@
if [ -z "$FORCE" ] ; then
bailout 1 "Exiting as requested."
fi
echo
bailout 1 "Exiting as requested."
fi
echo
-
fi
start_seconds=$(cut -d . -f 1 /proc/uptime)
log "------------------------------------------------------------------------------"
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 {{{
# }}}
# on-the-fly configuration {{{