From 8c45b484ced479c664910d3042a5170d898f3ccb Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 11 Sep 2009 16:29:40 +0200 Subject: [PATCH] plymouth: removed rd_plytheme --- dracut.8 | 5 ----- modules.d/50plymouth/install | 1 - modules.d/50plymouth/parse-plymouth.sh | 17 ----------------- 3 files changed, 23 deletions(-) delete mode 100644 modules.d/50plymouth/parse-plymouth.sh diff --git a/dracut.8 b/dracut.8 index b0547d95..c3c2f845 100644 --- a/dracut.8 +++ b/dracut.8 @@ -122,11 +122,6 @@ will be written to /etc/sysconfig/i18n in the initramfs .B LANG= will be written to /etc/sysconfig/i18n in the initramfs -.SH Bootsplash - plymouth -.TP -.B rd_plytheme= -specify the plymouth bootsplash theme (fallback is text) - .SH LVM .TP .B rd_NO_LVM diff --git a/modules.d/50plymouth/install b/modules.d/50plymouth/install index c2a9f1c6..8b3843ce 100755 --- a/modules.d/50plymouth/install +++ b/modules.d/50plymouth/install @@ -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 index 28eb6035..00000000 --- a/modules.d/50plymouth/parse-plymouth.sh +++ /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 -