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/local/plymouth.lsb | |
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/local/plymouth.lsb')
-rw-r--r-- | plymouth/debian/local/plymouth.lsb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/plymouth/debian/local/plymouth.lsb b/plymouth/debian/local/plymouth.lsb new file mode 100644 index 0000000..ab13585 --- /dev/null +++ b/plymouth/debian/local/plymouth.lsb @@ -0,0 +1,37 @@ +# /lib/lsb/init-functions.d/99-plymouth + +# Abort sourcing of this file if plymouth isn't active +if ! plymouth --ping > /dev/null 2>&1 +then + return +fi + +log_begin_msg_post () +{ + /bin/plymouth update --status="${@}" || true + } + +log_end_msg_post () +{ + : +} + +log_action_begin_msg_post () +{ + /bin/plymouth update --status="${@}" || true +} + +log_action_end_msg_post () +{ + : +} + +log_action_msg_post () +{ + /bin/plymouth update --status="${@}" || true +} + +log_daemon_msg_post () +{ + /bin/plymouth update --status="${@}" || true +} |