diff options
author | B Stack <bgstack15@gmail.com> | 2019-09-15 01:40:06 +0000 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-09-15 01:40:06 +0000 |
commit | f2dff3ec0939afc06060528e453a86f3045a73a9 (patch) | |
tree | 37d52e919c9b407b9783b388aa6706ad31a0c931 /plymouth/debian/plymouth.plymouth-log.init | |
parent | Merge branch 'chicago95-bump' into 'master' (diff) | |
parent | fix maintainer (diff) | |
download | stackrpms-f2dff3ec0939afc06060528e453a86f3045a73a9.tar.gz stackrpms-f2dff3ec0939afc06060528e453a86f3045a73a9.tar.bz2 stackrpms-f2dff3ec0939afc06060528e453a86f3045a73a9.zip |
Merge branch 'plymouth-bump' into 'master'
Add plymouth
See merge request bgstack15/stackrpms!87
Diffstat (limited to 'plymouth/debian/plymouth.plymouth-log.init')
-rw-r--r-- | plymouth/debian/plymouth.plymouth-log.init | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/plymouth/debian/plymouth.plymouth-log.init b/plymouth/debian/plymouth.plymouth-log.init new file mode 100644 index 0000000..a0adb55 --- /dev/null +++ b/plymouth/debian/plymouth.plymouth-log.init @@ -0,0 +1,47 @@ +#!/bin/sh + +### BEGIN INIT INFO +# Provides: plymouth-log +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Should-Start: +# Should-Stop: +# Default-Start: S +# Default-Stop: +# Short-Description: Inform plymouth that /var/log is writable +### END INIT INFO + +PATH="/sbin:/bin:/usr/sbin:/usr/bin" +NAME="plymouth-log" +DESC="Boot splash manager (write log file)" + +test -x /bin/plymouth || exit 0 + +if [ -r "/etc/default/${NAME}" ] +then + . "/etc/default/${NAME}" +fi + +. /lib/lsb/init-functions + +set -e + +case "${1}" in + start) + if plymouth --ping + then + /bin/plymouth update-root-fs --read-write + fi + ;; + + stop|restart|force-reload) + + ;; + + *) + echo "Usage: ${0} {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 |