Deploy /etc/lsb-base-logging.sh
[grml-live.git] / etc / grml / fai / config / files / etc / lsb-base-logging.sh / GRMLBASE
1 # This file was deployed via grml-live's
2 # ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/20-sudo script, using
3 # ${GRML_FAI_CONFIG}/config/files/etc/lsb-base-logging.sh/GRMLBASE
4
5 if log_use_fancy_output; then
6   __LSB_PFX="$(tput -S << EOGREEN
7   bold
8   setaf 2
9 EOGREEN
10   ) * $(tput -S << EONORMAL
11   sgr0
12   op
13 EONORMAL
14   )"
15 else
16   __LSB_PFX=" * "
17 fi
18
19 log_daemon_msg_pre() {
20   printf "${__LSB_PFX}"
21 }
22