diff options
Diffstat (limited to 'main/busybox-initscripts/acpid.initd')
-rw-r--r-- | main/busybox-initscripts/acpid.initd | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/main/busybox-initscripts/acpid.initd b/main/busybox-initscripts/acpid.initd index 5fbae1e5a..fbb285122 100644 --- a/main/busybox-initscripts/acpid.initd +++ b/main/busybox-initscripts/acpid.initd @@ -1,20 +1,12 @@ #!/sbin/runscript +name="busybox acpid" +command="/sbin/acpid" +command_args="$ACPID_OPTS" +pidfile="/var/run/acpid.pid" + 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 $? -} - |