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