Drop grml_nocolors + grml_colors magic, instead rely on lsb-functions
authorMichael Prokop <mika@grml.org>
Fri, 13 Jan 2017 12:56:19 +0000 (13:56 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 13 Jan 2017 12:56:19 +0000 (13:56 +0100)
grml-etc-core git commit 2ee956e includes color handling
inside lsb-functions, simplify its usage inside grml-autoconfig's
autoconfig.functions therefore.

autoconfig.functions

index 19a240d..ea17895 100755 (executable)
@@ -194,13 +194,10 @@ fi
 
 # {{{ source lsb-functions , color handling
 if checkbootparam 'nocolor'; then
 
 # {{{ source lsb-functions , color handling
 if checkbootparam 'nocolor'; then
-  RC_NOCOLOR=yes
   . /etc/grml/lsb-functions
   . /etc/grml/lsb-functions
-  . /etc/grml_nocolors
   einfo "Disabling colors in bootsequence as requested on commandline." ; eend 0
 else
   . /etc/grml/lsb-functions
   einfo "Disabling colors in bootsequence as requested on commandline." ; eend 0
 else
   . /etc/grml/lsb-functions
-  . /etc/grml_colors
 fi
 # }}}
 
 fi
 # }}}