Sophie

Sophie

distrib > PLD > ra > i686 > media > dist > by-pkgid > c38bafc8da0b4378f032813376150cac > scriptlet

nntpcache-2.4.0b5-3.i686.rpm

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