Sophie

Sophie

distrib > Scientific%20Linux > 5x > i386 > by-pkgid > 0539e9de910aa3760ceb5914187e890a > scriptlet

vixie-cron-4.1-81.el5.i386.rpm

PREUN

/bin/sh
if [ "$1" = 0 ]; then
    [ -f /var/lock/subsys/crond ] && /sbin/service crond stop >/dev/null 2>&1
    /sbin/chkconfig --del crond
fi

POSTIN

/bin/sh
/sbin/chkconfig --add crond
[ ! -f /etc/cron.allow ] && [ ! -f /etc/cron.deny ] && touch /etc/cron.deny ||:;

POSTUN

/bin/sh
if [ "$1" -ge "1" ]; then
	/sbin/service crond condrestart >/dev/null 2>&1
fi

Triggers

vixie-cron < 3.0.1-56

/bin/sh
/sbin/chkconfig --del crond
/sbin/chkconfig --add crond