projects
/
grml-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f11fb88
)
Add welcome beep (disable with nobeep)
author
Christian Hofstaedtler
<ch@grml.org>
Fri, 25 Nov 2011 14:10:08 +0000
(15:10 +0100)
committer
Christian Hofstaedtler
<ch@grml.org>
Fri, 25 Nov 2011 14:10:08 +0000
(15:10 +0100)
usr_share/run-welcome
patch
|
blob
|
history
diff --git
a/usr_share/run-welcome
b/usr_share/run-welcome
index
8dd379a
..
ae7a00d
100755
(executable)
--- 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=*)