PREUN
/bin/sh
if [ $1 -eq 0 ]; then service arched stop > /dev/null 2>&1 /sbin/chkconfig --del arched fi
POSTIN
/bin/sh
/sbin/chkconfig --add arched
POSTUN
/bin/sh
if [ $1 -ge 1 ]; then service arched condrestart > /dev/null 2>&1 fi
/bin/sh
if [ $1 -eq 0 ]; then service arched stop > /dev/null 2>&1 /sbin/chkconfig --del arched fi
/bin/sh
/sbin/chkconfig --add arched
/bin/sh
if [ $1 -ge 1 ]; then service arched condrestart > /dev/null 2>&1 fi