diff --git a/srcpkgs/acpid/files/acpid/run b/srcpkgs/acpid/files/acpid/run index 2f1ecdb65c2..0f41739c080 100755 --- a/srcpkgs/acpid/files/acpid/run +++ b/srcpkgs/acpid/files/acpid/run @@ -1,2 +1,3 @@ #!/bin/sh -exec acpid -fl +[ -r conf ] && . ./conf +exec acpid -f ${OPTS:=-l} diff --git a/srcpkgs/acpid/template b/srcpkgs/acpid/template index e7275eb9616..4ed7a2717b9 100644 --- a/srcpkgs/acpid/template +++ b/srcpkgs/acpid/template @@ -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"