]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
fall back to text plugin if fedora-fade-in fails
authorRay Strode <rstrode@redhat.com>
Wed, 14 May 2008 04:25:58 +0000 (00:25 -0400)
committerRay Strode <rstrode@redhat.com>
Wed, 14 May 2008 04:25:58 +0000 (00:25 -0400)
src/main.c

index 087750259ac1e721acfd2b02efdc1fe65b022eb5..01d82d832267b16f12272a0b9f8aca92036a1661 100644 (file)
@@ -405,6 +405,12 @@ main (int    argc,
   state.boot_splash = start_boot_splash (&state,
                                          PLYMOUTH_PLUGIN_PATH "fedora-fade-in.so");
 
+  if (state.boot_splash == NULL)
+    {
+      state.boot_splash = start_boot_splash (&state,
+                                             PLYMOUTH_PLUGIN_PATH "text.so");
+    }
+
   if (state.boot_splash == NULL)
     {
       ply_error ("could not start boot splash: %m");