PREUN
/bin/sh
if [ $1 = 0 ] ; then /sbin/service heartbeat stop /sbin/chkconfig --del heartbeat fi /sbin/ldconfig
POSTIN
/bin/sh
/sbin/ldconfig /sbin/chkconfig --add heartbeat
/bin/sh
if [ $1 = 0 ] ; then /sbin/service heartbeat stop /sbin/chkconfig --del heartbeat fi /sbin/ldconfig
/bin/sh
/sbin/ldconfig /sbin/chkconfig --add heartbeat