Merge remote-tracking branch 'origin/xro/lsnewolddir'
[grml-etc-core.git] / etc / grml / lsb-functions
index 094395a..d95be1d 100644 (file)
@@ -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