diff options
-rw-r--r-- | scripts/splash.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |