[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#381009: usplash: Should run during the entire shutdown sequence



Package: usplash
Version: 0.3a
Tags: patch

When doing shutdown on a machine using usplash, the usplash process
isn't started at the begining of runlevel 6.  It is started by
sendsigs halfway throught the shutdown instead.  I'm not sure how
ubuntu starts usplash during their shutdown process (could be useful
to check out), but one way that work is to modify the init.d script to
start usplash in the 'stop' target.

The start and stop behaviour for usplash seem to be the wrong way, but
because sysv-rc runs start scripts after stop scripts, it need to use
a S-type symlink in rc2.d to stop usplash, and a K-type symlink in
rc6.d to start it.

This patch make sure the K-type symlink in rc6.d and rc1.d starts
usplash.

--- debian/usplash.init.orig	2006-06-20 12:11:13.000000000 +0200
+++ debian/usplash.init		2006-08-01 14:48:36.000000000 +0200
@@ -68,6 +68,7 @@
        usplash_quit
        ;;
   stop)
+       usplash -c &
        usplash_write "TEXT Resetting the usplash timeout..."
        usplash_write "TIMEOUT 15"
        usplash_write "SUCCESS ok"



Reply to: