PREUN
/bin/sh
if [ $1 = 0 ]; then service dictd stop > /dev/null 2>/dev/null || :; /sbin/chkconfig --del dictd; fi;
POSTIN
/bin/sh
if [ $1 = 1 ]; then /sbin/chkconfig --add dictd; else if [ -f /var/lock/subsys/dictd ]; then service dictd restart > /dev/null 2>/dev/null || : ; fi; fi; mkdir -p /var/lock/subsys if [ ! -f /var/lock/subsys/dictd-server ]; then touch /var/lock/subsys/dictd-server chown root.root /var/lock/subsys/dictd-server chmod 755 /var/lock/subsys/dictd-server fi