PREUN
/bin/sh
if [ "$1" = 0 ]; then /sbin/service ipmidetectd stop >/dev/null 2>&1 /sbin/chkconfig --del ipmidetectd fi
POSTIN
/bin/sh
/sbin/chkconfig --add ipmidetectd
POSTUN
/bin/sh
if [ "$1" -ge "1" ] ; then /sbin/service ipmidetectd condrestart >/dev/null 2>&1 || : fi