From 3a712b480851e2f3fe4d2a236bb24799b4e42715 Mon Sep 17 00:00:00 2001 From: frank Date: Wed, 30 May 2012 22:41:54 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- .etckeeper | 1 + init.d/._cfg0000_sysstat | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100755 init.d/._cfg0000_sysstat diff --git a/.etckeeper b/.etckeeper index a029045..ef37dce 100755 --- a/.etckeeper +++ b/.etckeeper @@ -756,6 +756,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_sysstat' maybe chmod 0755 './init.d/acpid' maybe chmod 0755 './init.d/amavisd' maybe chmod 0755 './init.d/apache2' diff --git a/init.d/._cfg0000_sysstat b/init.d/._cfg0000_sysstat new file mode 100755 index 0000000..7875fcd --- /dev/null +++ b/init.d/._cfg0000_sysstat @@ -0,0 +1,19 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/files/sysstat.init.d,v 1.4 2012/05/14 20:01:19 jer Exp $ + +depend() { + use hostname +} + +start() { + ebegin "Writing a dummy startup record using sadc (see sadc(8))..." + /usr/lib/sa/sa1 --boot + eend $? +} + +stop() { + ebegin "Cannot stop writing a dummy startup record (see sadc(8))..." + eend $? +} -- 2.39.5