summaryrefslogtreecommitdiff
path: root/pcr/openrc-desktop/acpid-2.0.16-init.d
diff options
context:
space:
mode:
authorfreaj <freaj@riseup.net>2015-03-25 19:29:42 +0100
committerfreaj <freaj@riseup.net>2015-03-25 19:29:42 +0100
commit3051c65e16e655957c38bc1df237e170a50bd784 (patch)
tree5f1bdbcad064af9243389c1f8c93ad2d7c2e92be /pcr/openrc-desktop/acpid-2.0.16-init.d
parentf955ecf3f6bc9af1733c4a12e27c5fac6d7d7d7f (diff)
downloadabslibre-3051c65e16e655957c38bc1df237e170a50bd784.tar.gz
abslibre-3051c65e16e655957c38bc1df237e170a50bd784.tar.bz2
abslibre-3051c65e16e655957c38bc1df237e170a50bd784.zip
openrc-desktop-20150325-1: Insert missing files
Diffstat (limited to 'pcr/openrc-desktop/acpid-2.0.16-init.d')
-rw-r--r--pcr/openrc-desktop/acpid-2.0.16-init.d21
1 files changed, 21 insertions, 0 deletions
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 $?
+}