X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Flsb-functions;h=d95be1db89c32a94323f38dc8d6bac21a6420041;hb=a77b63c22c335a3e029908dba2406e527ffa3cad;hp=094395ae1c15fded8d27d486eed7384dd7b4cf74;hpb=4bfb41b45facbda837c14aeac6ead19b112ee1d9;p=grml-etc-core.git diff --git a/etc/grml/lsb-functions b/etc/grml/lsb-functions index 094395a..d95be1d 100644 --- a/etc/grml/lsb-functions +++ b/etc/grml/lsb-functions @@ -151,6 +151,14 @@ log_end_msg() { # initialisation {{{ # internal variables +# Dont output to stdout? +RC_QUIET_STDOUT="no" + +# Default values for e-message indentation and dots +RC_INDENTATION='' +RC_DEFAULT_INDENT=2 +#RC_DOT_PATTERN=' .' +RC_DOT_PATTERN='' # dont output to stdout? rc_quiet_stdout="no" @@ -168,7 +176,11 @@ fi RC_NOCOLOR="${RC_NOCOLOR:-no}" # Can the terminal handle endcols? -RC_ENDCOL="yes" +if [ "${RC_NOCOLOR}" = "yes" ]; then + RC_ENDCOL="no" +else + RC_ENDCOL="yes" +fi # Setup COLS and ENDCOL so eend can line up the [ ok ] # width of [ ok ] == 7