Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > bc9d9577cc3854f70a173eb7d14fe98f > scriptlet

spfd-1.997-5.noarch.rpm

PREUN

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

POSTIN

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