From 3051c65e16e655957c38bc1df237e170a50bd784 Mon Sep 17 00:00:00 2001 From: freaj Date: Wed, 25 Mar 2015 19:29:42 +0100 Subject: openrc-desktop-20150325-1: Insert missing files --- pcr/openrc-desktop/acpid-2.0.16-init.d | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pcr/openrc-desktop/acpid-2.0.16-init.d (limited to 'pcr/openrc-desktop/acpid-2.0.16-init.d') diff --git a/pcr/openrc-desktop/acpid-2.0.16-init.d b/pcr/openrc-desktop/acpid-2.0.16-init.d new file mode 100644 index 000000000..412a265fc --- /dev/null +++ b/pcr/openrc-desktop/acpid-2.0.16-init.d @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/files/acpid-2.0.16-init.d,v 1.1 2012/05/19 09:53:59 ssuominen Exp $ + +extra_started_commands="reload" +command="/usr/sbin/acpid" +command_args="${ACPID_ARGS}" +start_stop_daemon_args="--quiet" +description="Daemon for Advanced Configuration and Power Interface" + +depend() { + need localmount + use logger +} + +reload() { + ebegin "Reloading acpid configuration" + start-stop-daemon --exec $command --signal HUP + eend $? +} -- cgit v1.2.3