projects
/
grml-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SW: switch from bsdmainutils to bsdextrautils + bsdutils in GRML_SMALL + GRML_FULL
[grml-live.git]
/
etc
/
grml
/
fai
/
config
/
files
/
etc
/
lsb-base-logging.sh
/
GRMLBASE
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
d7c4223
..
ec31701
100644
(file)
--- 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,12
+2,17
@@
# ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/20-sudo script, using
# ${GRML_FAI_CONFIG}/config/files/etc/lsb-base-logging.sh/GRMLBASE
# ${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
if log_use_fancy_output; then
- __LSB_PFX="$(
tput
-S << EOGREEN
+ __LSB_PFX="$(
$TPUT
-S << EOGREEN
bold
setaf 2
EOGREEN
bold
setaf 2
EOGREEN
- ) * $(
tput
-S << EONORMAL
+ ) * $(
$TPUT
-S << EONORMAL
sgr0
op
EONORMAL
sgr0
op
EONORMAL
@@
-19,4
+24,9
@@
fi
log_daemon_msg_pre() {
printf "${__LSB_PFX}"
}
log_daemon_msg_pre() {
printf "${__LSB_PFX}"
}
-
+log_action_msg() {
+ printf "${__LSB_PFX}$@."
+}
+log_action_begin_msg() {
+ printf "${__LSB_PFX}$@... "
+}