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'
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'
--- /dev/null
+# 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=""
--- /dev/null
+#!/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 $?
+}