projects
/
grml-scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release new version 2.0.2
[grml-scripts.git]
/
usr_share
/
run-welcome
diff --git
a/usr_share/run-welcome
b/usr_share/run-welcome
index
3d5dc34
..
ae7a00d
100755
(executable)
--- 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)'
. /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"
CMDLINE=$(cat /proc/cmdline)
[ -n "$distri" ] || distri="grml"
@@
-27,6
+27,15
@@
if [ -r /etc/default/locale ] ; then
fi
fi
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=*)
case "$CMDLINE" in
# allow customized startup via bootoption startup:
*startup=*)
@@
-35,12
+44,6
@@
case "$CMDLINE" in
$script
fi
;;
$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*)
# do nothing if booting with bootoption noquick:
*\ noquick*)