PREUN
/bin/sh
if [ "$1" -eq 0 ] ; then if [ -f /var/lock/subsys/syslog-ng ]; then /etc/rc.d/init.d/syslog-ng stop fi /sbin/chkconfig --del syslog-ng fi
POSTIN
/bin/sh
if [ "$1" -eq 1 ]; then /sbin/chkconfig --add syslog-ng /sbin/chkconfig syslog-ng off fi
POSTUN
/bin/sh
if [ "$1" -ge 1 ]; then /etc/rc.d/init.d/syslog-ng condrestart fi