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