X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Ffiles%2Fetc%2Flsb-base-logging.sh%2FGRMLBASE;h=ec31701212fa40d33f271ad89ee83d61df2da90c;hp=9248d276f5e0003398e4c019685e355f3c9e18ef;hb=9f40afc7b4ba29d390cc252b5a3f263c076cbaa1;hpb=d82c4d5b1e0d320e23451d9218ca3a891d6fc29a diff --git a/etc/grml/fai/config/files/etc/lsb-base-logging.sh/GRMLBASE b/etc/grml/fai/config/files/etc/lsb-base-logging.sh/GRMLBASE index 9248d27..ec31701 100644 --- a/etc/grml/fai/config/files/etc/lsb-base-logging.sh/GRMLBASE +++ b/etc/grml/fai/config/files/etc/lsb-base-logging.sh/GRMLBASE @@ -2,6 +2,11 @@ # ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/20-sudo script, using # ${GRML_FAI_CONFIG}/config/files/etc/lsb-base-logging.sh/GRMLBASE +# override output of the status on the left side of the terminal +# introduced in lsb-base >= 4.1+Debian1 +log_end_msg_pre() { :; } +log_action_msg_pre() { :; } + if log_use_fancy_output; then __LSB_PFX="$($TPUT -S << EOGREEN bold @@ -19,4 +24,9 @@ fi log_daemon_msg_pre() { printf "${__LSB_PFX}" } - +log_action_msg() { + printf "${__LSB_PFX}$@." +} +log_action_begin_msg() { + printf "${__LSB_PFX}$@... " +}