Package: usplash
Version: 0.5.2-1
Tags: patch
Severity: important
Justification: user ends up with a black screen


Hello,

usplash can be started by an initramfs hook.
(or somethingelse in the initrd)

That results in no 'splash' string in /proc/commandline,
but /etc/init.d/usplash does check for that string.

The effect is that usplash_quit() has no effect.
Which gives the user a black screen.

My advice is to not check for kernel commandline options.


--- debian/usplash.init.package 2007-06-13 16:17:34.000000000 +0200
+++ debian/usplash.init 2007-06-19 11:20:27.000000000 +0200
@@ -51,7 +51,7 @@
        else
            CONSOLE_SCREEN=
        fi
-       if type usplash >/dev/null 2>&1 && grep -q splash /proc/cmdline &&
+       if type usplash >/dev/null 2>&1 &&
            ( pidof usplash > /dev/null || [ "$(fgconsole 2>/dev/null)" = "8" ] 
); then
                # Clear VT 8 of any console messages
                clear >/dev/tty8


Cheers
Geert Stappers



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to