xsay: add support for sselp and xclip; output error message
[grml-scripts.git] / usr_bin / zsh-login
index 382cdb4..1f8d270 100755 (executable)
@@ -4,7 +4,7 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Sam Mär 17 15:16:04 CET 2007 [mika]
+# Latest change: Don Mär 29 16:02:01 CEST 2007 [mika]
 ################################################################################
 
 [ -r /etc/grml_version ] && GRMLVERSION=$(cat /etc/grml_version) || GRMLVERSION='(no version information available)'
@@ -33,12 +33,15 @@ case "$CMDLINE" in
          flite -o play -t "Finished booting"
       fi
       ;;
-   noquick|nocolor)
+   noquick)
       # do nothing
       ;;
    *) # by default run grml-quickconfig, but only if running as root
       if [ $(id -u) = "0" ] ; then
-         [ -x /usr/sbin/grml-quickconfig ] && /usr/sbin/grml-quickconfig
+        # do not run grml-quickconfig on grml-small
+        if ! grep -q small /etc/grml_version ; then
+            [ -x /usr/sbin/grml-quickconfig ] && /usr/sbin/grml-quickconfig
+         fi
       fi
 esac