plymouth: removed rd_plytheme
parent
650da7bada
commit
8c45b484ce
5
dracut.8
5
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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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…
Reference in New Issue