Sophie

Sophie

distrib > PLD > ac > amd64 > media > dist > by-pkgid > 3751ac8b21c13af06100d10c04e56c35 > scriptlet

pop-before-smtp-1.29-6.noarch.rpm

PREUN

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

POSTIN

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