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,21 @@
#!/bin/bash
. "${PM_FUNCTIONS}"
command_exists /sbin/pccardctl || exit $NA
case "$1" in
hibernate|suspend)
echo "ejecting PCMCIA cards..."
/sbin/pccardctl eject
;;
thaw|resume)
echo "inserting PCMCIA cards..."
/sbin/pccardctl insert
;;
*) exit $NA
;;
esac
exit 0