[Maximilian Attems]
> no i meant that usplash is *enabled* unless you pass nosplash
> bootarg. the change was made several revisions ago, an installed
> usplash is default enabled. so you have to "grep" for nosplash if
> you don't want unsplash to be shown on shutdown.
Right. Here is an updated patch. With this patch and the patch in
#482015, usplash should work properly at shutdown again.
diff -u usplash-0.5.19/debian/usplash.init usplash-0.5.19/debian/usplash.init
--- usplash-0.5.19/debian/usplash.init
+++ usplash-0.5.19/debian/usplash.init
@@ -32,6 +32,8 @@
test -x $DAEMON || exit 0
+. /lib/init/splash-functions
+
set -e
usplash_quit() {
@@ -85,8 +87,20 @@
usplash_quit
;;
stop)
- if grep -q splash /proc/cmdline; then
- usplash_write "TIMEOUT 15"
+ SPLASH=true
+ if [ -f /proc/cmdline ] ; then
+ for x in $(cat /proc/cmdline); do
+ case $x in
+ nosplash*)
+ SPLASH=false
+ ;;
+ esac
+ done
+ fi
+
+ if [ "$SPLASH" = "true" ] ; then
+ splash_start
+ splash_stop_indefinite
fi
;;
*)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]