PREUN
/bin/sh
if [ $1 -eq 0 ]; then /sbin/service restorecond stop > /dev/null 2>&1 /sbin/chkconfig --del restorecond fi
POSTIN
/bin/sh
/sbin/chkconfig --add restorecond [ -f /usr/share/selinux/devel/include/build.conf ] && /usr/sbin/sepolgen-ifgen > /dev/null exit 0
POSTUN
/bin/sh
if [ "$1" -ge "1" ]; then [ -x /sbin/service ] && /sbin/service restorecond condrestart > /dev/null fi