]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
main: Also show splash for 'splash=silent' arguments (which is what we use in Mageia) 0.8.4
authorColin Guthrie <colin@mageia.org>
Thu, 15 Dec 2011 10:35:07 +0000 (10:35 +0000)
committerRay Strode <rstrode@redhat.com>
Wed, 21 Mar 2012 14:36:30 +0000 (10:36 -0400)
src/main.c

index 9565a3e781d10eb7118014c29b1970f3351ab79b..e4223b7e139b656f10db1a5fd8deba3f78c0e9b6 100644 (file)
@@ -755,6 +755,12 @@ plymouth_should_show_default_splash (state_t *state)
       return true;
     }
 
+  if (command_line_has_argument (state->kernel_command_line, "splash=silent"))
+    {
+      ply_trace ("using default splash because kernel command line has option \"splash=slient\"");
+      return true;
+    }
+
   ply_trace ("no default splash because kernel command line lacks \"splash\" or \"rhgb\"");
   return false;
 }