PREUN
/bin/sh
if [ $1 -eq 0 ]; then /sbin/service atop stop &>/dev/null || : /sbin/chkconfig --del atop fi
POSTIN
/bin/sh
/sbin/chkconfig --add atop
POSTUN
/bin/sh
if [ $1 -ge 1 ]; then /sbin/service atop condrestart &>/dev/null || : fi
/bin/sh
if [ $1 -eq 0 ]; then /sbin/service atop stop &>/dev/null || : /sbin/chkconfig --del atop fi
/bin/sh
/sbin/chkconfig --add atop
/bin/sh
if [ $1 -ge 1 ]; then /sbin/service atop condrestart &>/dev/null || : fi