Sophie

Sophie

distrib > PLD > ra > i686 > media > dist > by-pkgid > 050dc06dff3ba66548cd13d5d5e1f340 > scriptlet

fetchmail-daemon-6.1.2-2.i686.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
	if [ -f /var/lock/subsys/fetchmail ]; then
		/etc/rc.d/init.d/fetchmail stop >&2
	fi
	/sbin/chkconfig --del fetchmail
fi

POSTIN

/bin/sh
/sbin/chkconfig --add fetchmail
if [ -f /var/lock/subsys/fetchmail ]; then
	/etc/rc.d/init.d/fetchmail restart >&2
else
	echo "Run \"/etc/rc.d/init.d/fetchmail start\" to start fetchmail daemon."
fi