summaryrefslogtreecommitdiffstats
path: root/abs/core/plymouth/plymouth.functions
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/plymouth/plymouth.functions')
-rw-r--r--abs/core/plymouth/plymouth.functions9
1 files changed, 3 insertions, 6 deletions
diff --git a/abs/core/plymouth/plymouth.functions b/abs/core/plymouth/plymouth.functions
index cfaa19b..b866643 100644
--- a/abs/core/plymouth/plymouth.functions
+++ b/abs/core/plymouth/plymouth.functions
@@ -1,4 +1,3 @@
-#!/bin/bash
if [[ -x /usr/bin/plymouth && -x /usr/sbin/plymouthd ]]; then
ply_client() { /usr/bin/plymouth --ping && /usr/bin/plymouth "$@"; }
@@ -21,8 +20,7 @@ if [[ -x /usr/bin/plymouth && -x /usr/sbin/plymouthd ]]; then
}
stat_fail() {
- #JM remove client quitting
- #ply_client --quit
+ ply_client --quit
std_stat_fail "$@"
}
@@ -41,7 +39,7 @@ if [[ -x /usr/bin/plymouth && -x /usr/sbin/plymouthd ]]; then
ply_quit_boot
[[ $(ps h $(cat /tmp/plymouthd)) ]] && kill -9 $(cat /tmp/plymouthd)
}
-# JM add_hook shutdown_poweroff ply_quit_shutdown
+ add_hook shutdown_poweroff ply_quit_shutdown
# start plymouth at the beginning of rc.shutdown
ply_shutdown_start(){
@@ -61,8 +59,7 @@ if [[ -x /usr/bin/plymouth && -x /usr/sbin/plymouthd ]]; then
# don't get killed by kill_all
add_omit_pids `cat /tmp/plymouthd`
}
-#remove shutdown hook so plymouth doesn't start
-#JM add_hook shutdown_start ply_shutdown_start
+ add_hook shutdown_start ply_shutdown_start
fi
# vim: set ts=2 sw=2 ft=sh noet: