package/acpid: refactor init script
authorCarlos Santos <unixmania@gmail.com>
Wed, 23 Oct 2019 18:05:12 +0000 (15:05 -0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 26 Oct 2019 07:51:38 +0000 (09:51 +0200)
commite64d9567721957a7ed965e7fc9fcc98448b3bf85
tree386987c05f05671ba873457045c8b30473e0e82e
parentd9ed9b6d5925aa44185addccc15064d5af2af190
package/acpid: refactor init script

Adapt the format to the current template, used in other init scripts.

Move the one socond delay in restart to stop, giving acpid time to send
dying gasp to syslog.

Users willing to add start arguments can set the ACPID_ARGS variable in
/etc/default/acpid instead of rewriting the init script.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/acpid/S02acpid