Package: plymouth Version: 0.7.2-3 Severity: minor Tags: patch
Hi, attached patch makes sure we honor the nosplash option when passed to the bootloader. This doesn't affect "start" but makes sure we don't try to splash during shutdown. Cheers, -- Guido
>From 7c05309285694abac4d2e0b3c044071deeb6935b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= <a...@sigxcpu.org> Date: Sat, 20 Mar 2010 14:33:34 +0100 Subject: [PATCH 2/2] Honor nosplash option in init script --- debian/plymouth.init | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a/debian/plymouth.init b/debian/plymouth.init index 3d21ee1..0ea061c 100644 --- a/debian/plymouth.init +++ b/debian/plymouth.init @@ -15,6 +15,7 @@ PATH="/sbin:/bin:/usr/sbin:/usr/bin" NAME="plymouth" DESC="Boot splash manager" +SPLASH="false" [ -r "/etc/default/$NAME" ] && . "/etc/default/$NAME" @@ -23,10 +24,10 @@ set -e for x in $(cat /proc/cmdline); do case $x in splash*) - SPLASH=true + SPLASH="true" ;; nosplash*) - SPLASH=false + SPLASH="false" ;; esac done @@ -40,12 +41,18 @@ start_plymouthd () case "$1" in start) - /bin/plymouth --quit + if [ "$SPLASH" = "true" ] + then + /bin/plymouth --quit + fi ;; stop) - start_plymouthd shutdown - /bin/plymouth --show-splash + if [ "$SPLASH" = "true" ] + then + start_plymouthd shutdown + /bin/plymouth --show-splash + fi ;; restart|force-reload) -- 1.7.0