Code Review
/
packages
/
trusty
/
cirros-testvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
bda7ab20c5501e16681a694b084a04ca85eb7f9f
[packages/trusty/cirros-testvm.git]
/
cirros-testvm
/
src-cirros
/
src
/
etc
/
init.d
/
acpid
1
#!/bin/sh
2
# acpid
3
4
case "$1" in
5
start)
6
echo -n "Starting acpid: "
7
start-stop-daemon -S -q -p /var/run/acpid.pid --exec /sbin/acpid
8
echo "OK"
9
;;
10
stop|restart|reload)
11
echo -n "Stopping acpid: "
12
start-stop-daemon -K -q -p /var/run/acpid.pid
13
echo "OK"
14
;;
15
*)
16
echo $"Usage: $0 {start}"
17
exit 1
18
esac
19
20
exit $?
21
22
# vi: ts=4 noexpandtab