X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml-live;h=4fbed190d207bba94f102943d6c849b55ba1075f;hb=04db5222f18376d9c76153605b46bb16dd9a82bf;hp=f781b62b81e62b5ceb7fd2c5ec35e9366f140326;hpb=4c748114cccfa2e494a55a7dbe021c8f0d154736;p=grml-live.git diff --git a/grml-live b/grml-live index f781b62..4fbed19 100755 --- a/grml-live +++ b/grml-live @@ -174,6 +174,7 @@ while getopts "c:g:i:o:r:s:t:v:FhV" opt; do done shift $(($OPTIND - 1)) # set ARGV to the first not parsed commandline parameter +echo "Executing: $(basename $0) $*" >> $LOGFILE # }}} # some misc checks before executing FAI {{{ @@ -267,6 +268,7 @@ else # notice: 'fai dirinstall' does not seem to exit appropriate, so: ERROR='' if [ -r "/var/log/fai/dirinstall/$HOSTNAME/software.log" ] ; then + # 1 errors during executing of commands grep 'dpkg: error processing' /var/log/fai/dirinstall/$HOSTNAME/software.log >> $LOGFILE && ERROR=1 grep 'E: Method http has died unexpectedly!' /var/log/fai/dirinstall/$HOSTNAME/software.log >> $LOGFILE && ERROR=2 grep 'ERROR: chroot' /var/log/fai/dirinstall/$HOSTNAME/software.log >> $LOGFILE && ERROR=3