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