Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > 5cda769382333562ff6de66cfa7c79b6 > scriptlet

at-3.1.8-84.el5.x86_64.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