add powermanagement and disk utils

This commit is contained in:
Ertuğrul Erata
2015-07-31 10:59:10 +03:00
parent ada4e1ce08
commit 5ddcdd77d9
70 changed files with 3472 additions and 61 deletions
@@ -0,0 +1,24 @@
#!/bin/sh
# Launch plymouth daemon if necessary
. "${PM_FUNCTIONS}"
# Fail if no plymouthd
command_exists plymouthd || exit $NA
# Check for splash parameter in /proc/cmdline
grep -qw "splash" /proc/cmdline || exit $NA
launch_plymouthd()
{
/sbin/plymouthd --mode=suspend
return 0
}
case "$1" in
hibernate|suspend)
launch_plymouthd
;;
*) exit $NA
;;
esac