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/rc5.d/S95sddm
ln -sf ../init.d/sddm ${EXTDIR}/rc.d/rc6.d/K05sddm 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 kur-sendmail: dizinleri-olustur
install -m ${MODE} mbd/init.d/sendmail ${EXTDIR}/rc.d/init.d/ install -m ${MODE} mbd/init.d/sendmail ${EXTDIR}/rc.d/init.d/
ln -sf ../init.d/sendmail ${EXTDIR}/rc.d/rc0.d/K25sendmail 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/rc5.d/S28krb5
rm -f ${EXTDIR}/rc.d/rc6.d/K42krb5 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: sil-lprng:
rm -f ${EXTDIR}/rc.d/init.d/lprng rm -f ${EXTDIR}/rc.d/init.d/lprng
rm -f ${EXTDIR}/rc.d/rc0.d/K00lprng rm -f ${EXTDIR}/rc.d/rc0.d/K00lprng

View File

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