Browse Source

plymouth: removed rd_plytheme

master
Harald Hoyer 16 years ago
parent
commit
8c45b484ce
  1. 5
      dracut.8
  2. 1
      modules.d/50plymouth/install
  3. 17
      modules.d/50plymouth/parse-plymouth.sh

5
dracut.8

@ -122,11 +122,6 @@ will be written to /etc/sysconfig/i18n in the initramfs @@ -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

1
modules.d/50plymouth/install

@ -9,7 +9,6 @@ else @@ -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

17
modules.d/50plymouth/parse-plymouth.sh

@ -1,17 +0,0 @@ @@ -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

Loading…
Cancel
Save