Drop usage of $UID in scripts; Do not use a negative exit value in shellscripts
[grml-scripts.git] / usr_bin / zsh-login
index 09054df..5ac2d33 100755 (executable)
@@ -1,10 +1,9 @@
-#!/bin/sh
+#!/bin/bash
 # Filename:      zsh-login
 # Purpose:       customized zsh login welcome screen for use at grml
 # 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: Mit Jän 23 11:27:27 CET 2008 [mika]
 ################################################################################
 
 . /etc/grml/sh-lib
@@ -42,13 +41,12 @@ case "$CMDLINE" in
    # turn on speakers for accessibility users:
    *swspeak*|*blind*|*brltty*|*speakup*)
       if [ -x /usr/bin/flite ] ; then
-         aumix -w 90 -v 90 -p 90 -m 90
          flite -o play -t "Finished booting"
       fi
       ;;
 
-   # do nothing if booting with noquick:
-   noquick)
+   # do nothing if booting with bootoption noquick:
+   *noquick*)
       ;;
    *) # by default run grml-quickconfig, but only if running as root
       if [ $(id -u) = "0" ] ; then