From: Christian Hofstaedtler Date: Fri, 25 Nov 2011 14:10:08 +0000 (+0100) Subject: Add welcome beep (disable with nobeep) X-Git-Tag: v2.0.2~1 X-Git-Url: http://git.grml.org/?p=grml-scripts.git;a=commitdiff_plain;h=df294f83a67c69f09b308ae43f6a64a60e95f7ba Add welcome beep (disable with nobeep) --- diff --git a/usr_share/run-welcome b/usr_share/run-welcome index 8dd379a..ae7a00d 100755 --- a/usr_share/run-welcome +++ b/usr_share/run-welcome @@ -27,6 +27,15 @@ if [ -r /etc/default/locale ] ; then fi fi +# welcome beep +case "$CMDLINE" in + *\ nobeep*) + ;; + *) + (for f in 2000 1500 1000 2000; do beep -f $f -l 150; done) & + ;; +esac + case "$CMDLINE" in # allow customized startup via bootoption startup: *startup=*)