X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Ffiles%2Fetc%2Flsb-base-logging.sh%2FGRMLBASE;fp=etc%2Fgrml%2Ffai%2Fconfig%2Ffiles%2Fetc%2Flsb-base-logging.sh%2FGRMLBASE;h=d7c4223a5a04704f1c3cda7d79299637a2d4ba42;hb=00b6072d4b2e3f5a061c2b6811822fbdc5d489f0;hp=0000000000000000000000000000000000000000;hpb=c58ac425b0e5e3f146c7cd65013c37561f922d32;p=grml-live.git 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 new file mode 100644 index 0000000..d7c4223 --- /dev/null +++ b/etc/grml/fai/config/files/etc/lsb-base-logging.sh/GRMLBASE @@ -0,0 +1,22 @@ +# This file was deployed via grml-live's +# ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/20-sudo script, using +# ${GRML_FAI_CONFIG}/config/files/etc/lsb-base-logging.sh/GRMLBASE + +if log_use_fancy_output; then + __LSB_PFX="$(tput -S << EOGREEN + bold + setaf 2 +EOGREEN + ) * $(tput -S << EONORMAL + sgr0 + op +EONORMAL + )" +else + __LSB_PFX=" * " +fi + +log_daemon_msg_pre() { + printf "${__LSB_PFX}" +} +