]> Frank Brehm's Git Trees - config/bruni/etc.git/commitdiff
saving uncommitted changes in /etc prior to emerge run
authorfrank <frank@bruni.home.brehm-online.com>
Wed, 6 Jun 2012 21:15:19 +0000 (23:15 +0200)
committerFrank Brehm <root@bruni.home.brehm-online.com>
Wed, 6 Jun 2012 21:15:19 +0000 (23:15 +0200)
conf.d/._cfg0000_acpid [new file with mode: 0644]
init.d/._cfg0000_acpid [new file with mode: 0755]

diff --git a/conf.d/._cfg0000_acpid b/conf.d/._cfg0000_acpid
new file mode 100644 (file)
index 0000000..9aadb4c
--- /dev/null
@@ -0,0 +1,6 @@
+# /etc/conf.d/acpid: config file for /etc/init.d/acpid
+
+# Options to pass to the acpid daemon.
+# See the acpid(8) man page for more info.
+
+ACPID_ARGS=""
diff --git a/init.d/._cfg0000_acpid b/init.d/._cfg0000_acpid
new file mode 100755 (executable)
index 0000000..412a265
--- /dev/null
@@ -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 $?
+}