X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=usr_share%2Frun-welcome;h=6168284d000cb432feffd439b9dc567b21821ea9;hb=59a7eca75964af310d77e76699d061b169f373a4;hp=90fd7be927c89a35fc307d5673f9dc3a80c8cd0c;hpb=c08b156abb0b2b1b1335cb1ada0c08758553238b;p=grml-scripts.git diff --git a/usr_share/run-welcome b/usr_share/run-welcome index 90fd7be..6168284 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 1000 2000 1500 1750; do beep -f $f -l 150; done) & + ;; +esac + case "$CMDLINE" in # allow customized startup via bootoption startup: *startup=*) @@ -58,8 +67,7 @@ else # ... or finally fall back to grml's default echo echo 'NOTICE: This is a release candidate version!' echo 'Please notice that this is not yet a stable release.' - echo 'See http://wiki.grml.org/doku.php?id=release_candidate for known issues.' - echo 'Please report any bugs you notice: bugs@grml.org' + echo 'Please report any bugs you notice: http://grml.org/bugs/' echo fi @@ -69,7 +77,7 @@ else # ... or finally fall back to grml's default echo 'NOTICE: This is a daily snapshot version!' echo 'Please notice that this is not yet a stable release.' echo 'See http://daily.grml.org/ for more details.' - echo 'Please report any bugs you notice: daily@grml.org' + echo 'Please report any bugs you notice: http://grml.org/bugs/' echo fi