PREUN
/bin/sh
if [ $1 = 0 ]; then
/sbin/service setroubleshoot stop >/dev/null 2>&1
/sbin/chkconfig --del setroubleshoot || :
fi
POSTIN
/bin/sh
if [ -f /var/lib/setroubleshoot/audit_listener_database.xml ]; then
chown root:root /var/lib/setroubleshoot/audit_listener_database.xml >/dev/null 2>&1
chmod 600 /var/lib/setroubleshoot/audit_listener_database.xml >/dev/null 2>&1
fi
/sbin/chkconfig --add setroubleshoot
/sbin/chkconfig setroubleshoot resetpriorities
/sbin/service setroubleshoot condrestart >/dev/null 2>&1 || :