From a04bc6fb28a973a5a962a8b7e4a8c3202749c5a9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 10 Feb 2015 09:11:55 +0100 Subject: [PATCH] acpid: accept optional service/conf in the runit service. --- srcpkgs/acpid/files/acpid/run | 3 ++- srcpkgs/acpid/template | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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"