run-welcome: use different beep sequence
[grml-scripts.git] / usr_share / run-welcome
index 8dd379a..e409835 100755 (executable)
@@ -27,6 +27,15 @@ if [ -r /etc/default/locale ] ; then
    fi
 fi
 
+# welcome beep
+case "$CMDLINE" in
+  *\ nobeep*)
+    ;;
+  *)
+    (for f in 1000 2000 1500 1750; do beep -f $f -l 150; done) &
+    ;;
+esac
+
 case "$CMDLINE" in
    # allow customized startup via bootoption startup:
    *startup=*)