]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Support "splash" in addition to "rhgb" on kernel command line
authorRay Strode <rstrode@redhat.com>
Fri, 13 Mar 2009 14:08:15 +0000 (10:08 -0400)
committerRay Strode <rstrode@redhat.com>
Fri, 13 Mar 2009 14:11:19 +0000 (10:11 -0400)
We used "rhgb" because that's what Fedora users were used to
instinctively removing when graphical boot messes up.  This
isn't a very intuitive (or very upstream-y) name though.

Now we check for "rhgb" or "splash"

src/main.c

index 4c88c840b1bbea0fdf7f1fcca47c12ba69cf41fe..5655be939000fa695a56a52e6f17f6719d984763 100644 (file)
@@ -491,7 +491,7 @@ plymouth_should_show_default_splash (state_t *state)
         }
     }
 
-  return strstr (state->kernel_command_line, "rhgb") != NULL;
+  return strstr (state->kernel_command_line, "rhgb") != NULL || strstr (state->kernel_command_line, "splash") != NULL;
 }
 
 static void