Use grml-core for bootparameter handling.
[grml-etc.git] / etc / init.d / grml-misc
index 1dd0537..bd8c2bd 100755 (executable)
@@ -7,7 +7,9 @@
 # Latest change: Sam Mai 27 14:43:56 CEST 2006 [mika]
 ################################################################################
 
-if grep -q nocolor /proc/cmdline ; then
+. /usr/lib/grml/core.sh
+
+if checkbootparam nocolor ; then
    RC_NOCOLOR=yes
    . /etc/grml/lsb-functions
 else