]> Frank Brehm's Git Trees - config/weimar/etc.git/commitdiff
committing changes in /etc after emerge run
authorroot <root@weimar.pb.local>
Thu, 10 Dec 2015 16:49:21 +0000 (17:49 +0100)
committerroot <root@weimar.pb.local>
Thu, 10 Dec 2015 16:49:21 +0000 (17:49 +0100)
Package changes:
+sys-apps/ipmitool-1.8.14-r1

.etckeeper
conf.d/ipmievd [new file with mode: 0644]
init.d/ipmievd [new file with mode: 0755]

index 7887d4c1f06e324f6ac7d4b5cb7e48d55ae9a4a9..b15036effb3b569a44ae5387958341f66bed5740 100755 (executable)
@@ -67,6 +67,7 @@ maybe chmod 0644 'conf.d/gpm'
 maybe chmod 0644 'conf.d/hostname'
 maybe chmod 0644 'conf.d/hwclock'
 maybe chmod 0644 'conf.d/ip6tables'
+maybe chmod 0644 'conf.d/ipmievd'
 maybe chmod 0644 'conf.d/iptables'
 maybe chmod 0644 'conf.d/keymaps'
 maybe chmod 0644 'conf.d/killprocs'
@@ -526,6 +527,7 @@ maybe chmod 0755 'init.d/hibernate-cleanup'
 maybe chmod 0755 'init.d/hostname'
 maybe chmod 0755 'init.d/hwclock'
 maybe chmod 0755 'init.d/ip6tables'
+maybe chmod 0755 'init.d/ipmievd'
 maybe chmod 0755 'init.d/iptables'
 maybe chmod 0755 'init.d/keymaps'
 maybe chmod 0755 'init.d/killprocs'
diff --git a/conf.d/ipmievd b/conf.d/ipmievd
new file mode 100644 (file)
index 0000000..e6a3558
--- /dev/null
@@ -0,0 +1,23 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+# /etc/conf.d/ipmievd
+
+# Interfaces:
+#   open      Linux OpenIPMI Interface
+#   imb       Intel IMB Interface
+#   bmc       IPMI v2.0 BMC interface
+#   lan       IPMI v1.5 LAN Interface
+#   lanplus   IPMI v2.0 RMCP+ LAN Interface
+
+INTERFACE="open"
+
+# Commands:
+#   open   Use OpenIPMI for asyncronous notification of events
+#   sel    Poll SEL for notification of events
+
+COMMAND="open"
+
+# Options.
+
+OPTIONS=""
diff --git a/init.d/ipmievd b/init.d/ipmievd
new file mode 100755 (executable)
index 0000000..463024f
--- /dev/null
@@ -0,0 +1,25 @@
+#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+# /etc/init.d/ipmievd
+
+depend() {
+    use logger
+}
+PN="ipmievd"
+
+start() {
+    /sbin/modprobe -sq ipmi_msghandler
+    /sbin/modprobe -sq ipmi_devintf
+    /sbin/modprobe -sq ipmi_si
+    ebegin "Starting ${PN}"
+    start-stop-daemon --start --pidfile /var/run/${PN}.pid0 --exec /usr/sbin/${PN} -- -I ${INTERFACE} ${OPTIONS} ${COMMAND}
+    eend $?
+}
+
+stop() {
+    ebegin "Stopping ${PN}"
+    start-stop-daemon --stop --pidfile /var/run/${PN}.pid0
+    eend $?
+}