X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Flsb-functions;h=ceffb0c922d613bd38aad9fabe32a825e6c5ffdf;hb=527ab1159d79e9d52878e27429d470ae9f35686a;hp=094395ae1c15fded8d27d486eed7384dd7b4cf74;hpb=4bfb41b45facbda837c14aeac6ead19b112ee1d9;p=grml-etc-core.git diff --git a/etc/grml/lsb-functions b/etc/grml/lsb-functions index 094395a..ceffb0c 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="yes" +else + RC_ENDCOL="no" +fi # Setup COLS and ENDCOL so eend can line up the [ ok ] # width of [ ok ] == 7