plymouth.servisi

This commit is contained in:
milisbir 2017-08-23 20:36:02 +03:00
parent b9c91c00d3
commit e7a1c46ca7
2 changed files with 25 additions and 5 deletions

View File

@ -498,6 +498,16 @@ kur-sddm: dizinleri-olustur
ln -sf ../init.d/sddm ${EXTDIR}/rc.d/rc5.d/S95sddm
ln -sf ../init.d/sddm ${EXTDIR}/rc.d/rc6.d/K05sddm
kur-plymouth: dizinleri-olustur
install -m ${MODE} mbd/init.d/plymouth ${EXTDIR}/rc.d/init.d/
ln -sf ../init.d/plymouth ${EXTDIR}/rc.d/rc0.d/K20plymouth
ln -sf ../init.d/plymouth ${EXTDIR}/rc.d/rc1.d/K20plymouth
ln -sf ../init.d/plymouth ${EXTDIR}/rc.d/rc2.d/S20plymouth
ln -sf ../init.d/plymouth ${EXTDIR}/rc.d/rc3.d/S20plymouth
ln -sf ../init.d/plymouth ${EXTDIR}/rc.d/rc4.d/S20plymouth
ln -sf ../init.d/plymouth ${EXTDIR}/rc.d/rc5.d/S20plymouth
ln -sf ../init.d/plymouth ${EXTDIR}/rc.d/rc6.d/K20plymouth
kur-sendmail: dizinleri-olustur
install -m ${MODE} mbd/init.d/sendmail ${EXTDIR}/rc.d/init.d/
ln -sf ../init.d/sendmail ${EXTDIR}/rc.d/rc0.d/K25sendmail
@ -881,6 +891,16 @@ sil-krb5:
rm -f ${EXTDIR}/rc.d/rc5.d/S28krb5
rm -f ${EXTDIR}/rc.d/rc6.d/K42krb5
sil-plymouth:
rm -f ${EXTDIR}/rc.d/init.d/plymouth
rm -f ${EXTDIR}/rc.d/rc0.d/K20plymouth
rm -f ${EXTDIR}/rc.d/rc1.d/K20plymouth
rm -f ${EXTDIR}/rc.d/rc2.d/S20plymouth
rm -f ${EXTDIR}/rc.d/rc3.d/S20plymouth
rm -f ${EXTDIR}/rc.d/rc4.d/S20plymouth
rm -f ${EXTDIR}/rc.d/rc5.d/S20plymouth
rm -f ${EXTDIR}/rc.d/rc6.d/K20plymouth
sil-lprng:
rm -f ${EXTDIR}/rc.d/init.d/lprng
rm -f ${EXTDIR}/rc.d/rc0.d/K00lprng

View File

@ -15,7 +15,7 @@ PATH="/sbin:/bin:/usr/sbin:/usr/bin"
NAME="plymouth"
DESC="Boot splash manager"
test -x /sbin/plymouthd || exit 0
test -x /usr/sbin/plymouth || exit 0
if [ -r "/etc/default/${NAME}" ]
then
@ -41,7 +41,7 @@ case "${1}" in
start)
case "${SPLASH}" in
true)
/bin/plymouth --quit
/usr/bin/plymouth --quit
;;
esac
;;
@ -51,7 +51,7 @@ case "${1}" in
true)
if ! plymouth --ping
then
/sbin/plymouthd --mode=shutdown --attach-to-session
/usr/sbin/plymouth --mode=shutdown --attach-to-session
fi
RUNLEVEL="$(/sbin/runlevel | cut -d " " -f 2)"
@ -66,9 +66,9 @@ case "${1}" in
;;
esac
/bin/plymouth message --text="${TEXT}"
/usr/bin/plymouth message --text="${TEXT}"
/bin/plymouth --show-splash
/usr/bin/plymouth --show-splash
;;
esac
;;