[Splashy-devel] Bug#410861: initscript does not detect "splash" boot parameter if splash is the last boot option

Otavio Salvador otavio at debian.org
Wed Feb 14 21:35:07 CET 2007


Tim Dijkstra <tim at famdijkstra.org> writes:

> On Tue, 13 Feb 2007 23:56:21 +0100
> Michael Biebl <biebl at debian.org> wrote:
>
>> Package: splashy
>> Version: 0.3.1
>> Severity: normal
>> 
>> /etc/init.d/splashy contains:
>> 
>> grep -q -e '[[:space:]]splash\([[:space:]]+\|$\)' /proc/cmdline &&
>> ENABLE=1
>> grep -q -e '[[:space:]]nosplash\([[:space:]]+\|$\)' /proc/cmdline &&
>> ENABLE=0
>> 
>> If splash is the last boot parameter with no white space following, this
>> expression does not match, i.e. splash support is disabled although my
>> grub command line looks like "... vga=791 splash".
>
> Have you tested that? Because the regex reads ends on 'space or end' (
> the '$' means end.) so it does match your case. In other words
> something else must be wrong.

The problem was when you _had_ a space after the word. I fixed it on
svn already. It worked fine on my test case.

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio at debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."



More information about the Splashy-devel mailing list