Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > 7a1c0879deb421635f3db6752ea5de6e > scriptlet

at-3.1.12-5.fc14.i686.rpm

PREUN

/bin/sh
if [ "$1" = "0" ] ; then
	/sbin/service atd stop >/dev/null 2>&1 ||:
	/sbin/chkconfig --del atd
fi

POSTIN

/bin/sh
touch /var/spool/at/.SEQ
chmod 600 /var/spool/at/.SEQ
chown daemon:daemon /var/spool/at/.SEQ
# must be in chkconfig on
/sbin/chkconfig --add atd

POSTUN

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