]> git.pld-linux.org Git - projects/geninitrd.git/blobdiff - mod-fbsplash.sh
Simplify main code by moving state checks to modules itself
[projects/geninitrd.git] / mod-fbsplash.sh
index 9a0dc73c2a5632b1129ad57f37ac654c03d3a619..25e978daaec3f37be774f971406114d5556d6353 100644 (file)
@@ -38,6 +38,9 @@ find_modules_fbsplash() {
 # generate initrd fragment
 # @access      public
 initrd_gen_fbsplash() {
+       if ! is_yes "$FB_SPLASH"; then
+               return
+       fi
        debug "Generating fbsplash"
 
        if [ -r /etc/sysconfig/fbsplash ]; then
This page took 0.027315 seconds and 4 git commands to generate.