Support "splash" in addition to "rhgb" on kernel command line

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"
This commit is contained in:
Ray Strode 2009-03-13 10:08:15 -04:00
parent a0f63466b9
commit b7357a90cf

View 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