plymouth: removed rd_plytheme
authorHarald Hoyer <harald@redhat.com>
Fri, 11 Sep 2009 14:29:40 +0000 (16:29 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 11 Sep 2009 14:29:40 +0000 (16:29 +0200)
dracut.8
modules.d/50plymouth/install
modules.d/50plymouth/parse-plymouth.sh [deleted file]

index b0547d9..c3c2f84 100644 (file)
--- a/dracut.8
+++ b/dracut.8
@@ -122,11 +122,6 @@ will be written to /etc/sysconfig/i18n in the initramfs
 .B LANG=<locale>
 will be written to /etc/sysconfig/i18n in the initramfs
 
-.SH Bootsplash - plymouth
-.TP
-.B rd_plytheme=<theme name>
-specify the plymouth bootsplash theme (fallback is text)
-
 .SH LVM
 .TP
 .B rd_NO_LVM
index c2a9f1c..8b3843c 100755 (executable)
@@ -9,7 +9,6 @@ else
         /usr/libexec/plymouth/plymouth-populate-initrd -t $initdir
 fi
 
-inst_hook cmdline 30 "$moddir/parse-plymouth.sh"
 inst_hook pre-pivot 90 "$moddir"/plymouth-newroot.sh
 inst_hook pre-trigger 10 "$moddir"/plymouth-pretrigger.sh
 inst_hook emergency 50 "$moddir"/plymouth-emergency.sh
diff --git a/modules.d/50plymouth/parse-plymouth.sh b/modules.d/50plymouth/parse-plymouth.sh
deleted file mode 100644 (file)
index 28eb603..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-PLYMOUTH_THEMEDIR=/usr/share/plymouth/themes
-PLYMOUTH_THEME=$(getarg rd_plytheme=)
-if [ -n "$PLYMOUTH_THEME" ]; then
-    if [ -f "${PLYMOUTH_THEMEDIR}/${PLYMOUTH_THEME}/${PLYMOUTH_THEME}.plymouth" ]; then
-       info "Setting theme $PLYMOUTH_THEME"
-       (
-           cd $PLYMOUTH_THEMEDIR;
-           ln -fs "${PLYMOUTH_THEME}/${PLYMOUTH_THEME}.plymouth" default.plymouth 2>&1 | vinfo;       
-       )
-    else
-       warn "Theme $PLYMOUTH_THEME not found!"
-    fi
-fi
-
-unset PLYMOUTH_THEME
-unset PLYMOUTH_THEMEDIR
-