X-Git-Url: http://git.grml.org/?p=grml-scripts.git;a=blobdiff_plain;f=usr_bin%2Fzsh-login;h=1f8d2708f2ae1584416839f9309f6778b728cae6;hp=1a41bae3127f53c5f64aee344d0d62fd060b4cad;hb=24c1bd1dc1799b4124782c9f66267d2c4f974bb7;hpb=470961a79c6f99cdec8d3063e4ad89ca6297982b diff --git a/usr_bin/zsh-login b/usr_bin/zsh-login index 1a41bae..1f8d270 100755 --- a/usr_bin/zsh-login +++ b/usr_bin/zsh-login @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Sam Mär 17 12:40:51 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)' @@ -38,7 +38,10 @@ case "$CMDLINE" in ;; *) # 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