PREUN
/bin/sh
if [ "$1" -eq "0" ] ; then service abrt-oops stop >/dev/null 2>&1 /sbin/chkconfig --del abrt-oops fi #systemd (not tested): if [ "$1" -eq "0" ] ; then /bin/systemctl stop abrt-oops.service >/dev/null 2>&1 || : /bin/systemctl disable abrt-oops.service >/dev/null 2>&1 || : fi
POSTIN
/bin/sh
if [ $1 -eq 1 ]; then /sbin/chkconfig --add abrt-oops fi
POSTTRANS
/bin/sh
service abrt-oops condrestart >/dev/null 2>&1 || :