From b9fd24d058a3bddfb05ccf4029b75d59c94d9e65 Mon Sep 17 00:00:00 2001 From: frank Date: Wed, 6 Jun 2012 23:15:07 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- .etckeeper | 2 ++ conf.d/._cfg0000_acpid | 6 ++++++ init.d/._cfg0000_acpid | 21 +++++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 conf.d/._cfg0000_acpid create mode 100755 init.d/._cfg0000_acpid diff --git a/.etckeeper b/.etckeeper index c067114..83faac9 100755 --- a/.etckeeper +++ b/.etckeeper @@ -137,6 +137,7 @@ maybe chmod 0644 './clamd.conf' maybe chmod 0644 './colordiffrc' maybe chmod 0644 './colordiffrc-lightbg' maybe chmod 0755 './conf.d' +maybe chmod 0644 './conf.d/._cfg0000_acpid' maybe chmod 0644 './conf.d/acpid' maybe chmod 0644 './conf.d/apache2' maybe chmod 0644 './conf.d/atd' @@ -807,6 +808,7 @@ maybe chmod 0644 './idn.conf.sample' maybe chmod 0644 './idnalias.conf' maybe chmod 0644 './idnalias.conf.sample' maybe chmod 0755 './init.d' +maybe chmod 0755 './init.d/._cfg0000_acpid' maybe chmod 0755 './init.d/acpid' maybe chmod 0755 './init.d/amavisd' maybe chmod 0755 './init.d/apache2' diff --git a/conf.d/._cfg0000_acpid b/conf.d/._cfg0000_acpid new file mode 100644 index 0000000..9aadb4c --- /dev/null +++ b/conf.d/._cfg0000_acpid @@ -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 index 0000000..412a265 --- /dev/null +++ b/init.d/._cfg0000_acpid @@ -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 $? +} -- 2.39.5