acpid: accept optional service/conf in the runit service.

This commit is contained in:
Juan RP 2015-02-10 09:11:55 +01:00
parent 7afff7b80b
commit a04bc6fb28
2 changed files with 3 additions and 2 deletions

View File

@ -1,2 +1,3 @@
#!/bin/sh
exec acpid -fl
[ -r conf ] && . ./conf
exec acpid -f ${OPTS:=-l}

View File

@ -1,7 +1,7 @@
# Template file for 'acpid'
pkgname=acpid
version=2.0.23
revision=10
revision=11
build_options="systemd"
build_style=gnu-configure
conf_files="/etc/acpi/events/anything /etc/acpi/handler.sh"