From 14dc5dd1700818152a49f41c1058351f371af33e Mon Sep 17 00:00:00 2001 From: fbrehm Date: Wed, 6 Jun 2012 23:43:56 +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 86932a7..ec79027 100755 --- a/.etckeeper +++ b/.etckeeper @@ -226,6 +226,7 @@ maybe chmod 0644 './colord.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/alsasound' maybe chmod 0644 './conf.d/apache2' @@ -1174,6 +1175,7 @@ maybe chmod 0644 './imlib/im_palette-tiny.pal' maybe chmod 0644 './imlib/im_palette.pal' maybe chmod 0644 './imlib/imrc' maybe chmod 0755 './init.d' +maybe chmod 0755 './init.d/._cfg0000_acpid' maybe chmod 0755 './init.d/NetworkManager' maybe chmod 0755 './init.d/acpid' maybe chmod 0755 './init.d/aiccu' 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