]> Frank Brehm's Git Trees - config/samara/etc.git/commitdiff
saving uncommitted changes in /etc prior to emerge run
authorfbrehm <fbrehm@samara.profitbricks.localdomain>
Wed, 30 May 2012 23:53:21 +0000 (01:53 +0200)
committerroot <root@samara.profitbricks.localdomain>
Wed, 30 May 2012 23:53:21 +0000 (01:53 +0200)
.etckeeper
init.d/._cfg0000_sysstat [new file with mode: 0755]

index 3be7adc33b92896e811a0915fd136e01d11fe249..bce1e5b6c694078e23e35007404a882ab7119e69 100755 (executable)
@@ -1087,6 +1087,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_sysstat'
 maybe chmod 0755 './init.d/NetworkManager'
 maybe chmod 0755 './init.d/acpid'
 maybe chmod 0755 './init.d/aiccu'
diff --git a/init.d/._cfg0000_sysstat b/init.d/._cfg0000_sysstat
new file mode 100755 (executable)
index 0000000..7875fcd
--- /dev/null
@@ -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 $?
+}