PREUN
/bin/sh
if [ "$1" = 0 ]; then service mdmonitor stop > /dev/null 2>&1 ||: /sbin/chkconfig --del mdmonitor if [ -e /etc/rc.d/init.d/mdmpd ]; then service mdmpd stop > /dev/null 2>&1 ||: /sbin/chkconfig --del mdmpd fi fi
POSTIN
/bin/sh
/sbin/chkconfig --add mdmonitor /sbin/chkconfig --add mdmpd
POSTUN
/bin/sh
if [ "$1" -ge "1" ]; then service mdmonitor condrestart > /dev/null 2>&1 if [ -e /etc/rc.d/init.d/mdmpd ]; then service mdmpd condrestart > /dev/null 2>&1 fi fi