aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox-initscripts/acpid.initd
blob: 5fbae1e5a3eb748419a3f974c77ffed9a1678a09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/sbin/runscript

depend() {
	need dev localmount
	after hwdrivers modules
}

start() {
	ebegin "Starting busybox acpid"
	start-stop-daemon --start --exec /sbin/acpid \
		-- $ACPID_OPTS
	eend $?
}

stop () {
	ebegin "Stopping busybox acpid"
	start-stop-daemon --stop --exec /sbin/acpid
	eend $?
}