From 123a568e315b10ab0018086eee00c0376615e633 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 5 Aug 2008 13:48:20 +0000 Subject: do not warn about missing /proc/splash if in splashy mode (#42459) --- scripts/splash.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/splash.sh b/scripts/splash.sh index 0ef4a93..eaeaa15 100644 --- a/scripts/splash.sh +++ b/scripts/splash.sh @@ -96,7 +96,9 @@ fi _shutdown="no" _silent="no" if grep -q silent /proc/cmdline; then - if grep -q silent /proc/splash || [ "$splash_mode" = "splashy" ]; then + if [ "$splash_mode" = "splashy" ]; then + _silent="yes" + elif [ "$splash_mode" = "bootsplash" ] && grep -q silent /proc/splash; then _silent="yes" fi fi -- cgit v1.2.1