Sophie

Sophie

distrib > Scientific%20Linux > 5x > i386 > by-pkgid > 24bcfa5ad8b625c5738640236c4f3aac > scriptlet

at-3.1.8-84.el5_11.1.i386.rpm

PREUN

/bin/sh
if [ "$1" = 0 ] ; then
  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
/sbin/chkconfig --add atd

POSTUN

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