Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 8fccaa890c4294c6c2b93ea577125432 > scriptlet

tac_plus-F4.0.3-0.alpha.9a.3.amd64.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
	{
if [ -f /var/lock/subsys/tac_plus ]; then
/sbin/service tac_plus stop 1>&2 || :;
fi };	/sbin/chkconfig --del tac_plus
fi

POSTIN

/bin/sh
/sbin/chkconfig --add tac_plus
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/tac_plus ] && . /etc/sysconfig/tac_plus
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/tac_plus ]; then
/sbin/service tac_plus restart 1>&2 || :;
else
echo 'Run "/sbin/service tac_plus start" to start tac_plus service.'
fi
fi };