PREUN
/bin/sh
if [ "$1" = "0" ]; then if [ -r /var/lock/subsys/nntpcache ]; then /etc/rc.d/init.d/nntpcache stop >&2 fi /sbin/chkconfig --del nntpcache fi
POSTIN
/bin/sh
/sbin/chkconfig --add nntpcache if [ -r /var/lock/subsys/nntpcache ]; then /etc/rc.d/init.d/nntpcache restart >&2 else echo "Run \"/etc/rc.d/init.d/nntpcache start\" to start NNTP Cache daemons." fi