PREUN
/bin/sh
if [ $1 = 0 ]; then service anacron stop > /dev/null 2>/dev/null || :; /sbin/chkconfig --del anacron; fi;#if [ "$1" = "0" ]; then
# service anacron stop >/dev/null 2>&1
# /sbin/chkconfig --del anacron
#fi
POSTIN
/bin/sh
#/sbin/chkconfig --add anacron
if [ $1 = 1 ]; then /sbin/chkconfig --add anacron; else if [ -f /var/lock/subsys/anacron ]; then service anacron restart > /dev/null 2>/dev/null || : ; fi; fi;
#%preun
#chkconfig --del anacron
POSTUN
/bin/sh
if [ "$1" -ge "1" ]; then
service anacron condrestart >/dev/null 2>&1
fi