5 printf "Starting acpid: "
6 start-stop-daemon
-S -q -m -b -p /var
/run
/acpid.pid
--exec /usr
/sbin
/acpid
-- -n
7 [ $?
= 0 ] && echo "OK" ||
echo "FAIL"
10 printf "Stopping acpid: "
11 start-stop-daemon
-K -q -p /var
/run
/acpid.pid
12 [ $?
= 0 ] && echo "OK" ||
echo "FAIL"
20 echo "Usage: $0 {start|stop|restart}"