Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47888 - bootsplash stop should use kernel "theme" parameter
Summary: bootsplash stop should use kernel "theme" parameter
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-15 01:01 UTC by Andy Wang
Modified: 2004-04-25 12:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Wang 2004-04-15 01:01:19 UTC
The stop() function in /etc/init.d/bootsplash uses the BOOTSPLASH_THEME variable to determine what image to use on shutdown.  start() uses /proc/cmdline to check for the "theme" argument and uses that theme.

Perhaps this block:
                for param in `grep "theme=" /proc/cmdline`; do
                        if [ "${param%=*}" == "theme" ]; then
                                BOOTSPLASH_THEME="${param#*=}"
                        fi
                done

should be moved into a global section of the script used by both start and stop just to be consistent?
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2004-04-15 11:38:03 UTC
You're right, currently it's somewhat inconsistent. It'll be fixed in the next bootsplash release. Thanks for the hint :)
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2004-04-25 12:41:33 UTC
Added -r15 to CVS.