X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=usr_share%2Frun-welcome;h=ae7a00ddef5f2c1cd87386df48bb7542572c24af;hb=be0bbee3cb5d7a82b90528f5cb641d39f1d01b7b;hp=3d5dc341c8871fa21b35d51faa17402510efaf55;hpb=fd86ffcbcd135b49bff36d1b4c2b96735b459f5a;p=grml-scripts.git diff --git a/usr_share/run-welcome b/usr_share/run-welcome index 3d5dc34..ae7a00d 100755 --- a/usr_share/run-welcome +++ b/usr_share/run-welcome @@ -9,7 +9,7 @@ . /etc/grml/sh-lib [ -r /etc/grml_version ] && GRMLVERSION=$(cat /etc/grml_version) || GRMLVERSION='(no version information available)' -PATH=$HOME/bin:/bin:/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/games:/home/grml/bin +PATH=$HOME/bin:/bin:/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/usr/games:/home/grml/bin CMDLINE=$(cat /proc/cmdline) [ -n "$distri" ] || distri="grml" @@ -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=*) @@ -35,12 +44,6 @@ case "$CMDLINE" in $script fi ;; - # turn on speakers for accessibility users: - *\ swspeak*|*blind*|*brltty*|*speakup*) - if [ $(which flite) ] ; then - flite -o play -t "Finished booting" - fi - ;; # do nothing if booting with bootoption noquick: *\ noquick*)