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