PREUN
/bin/sh
if [ $1 = 0 ]; then /sbin/service opensips stop > /dev/null 2>&1 /sbin/chkconfig --del opensips fi
POSTIN
/bin/sh
/sbin/chkconfig --add opensips
/bin/sh
if [ $1 = 0 ]; then /sbin/service opensips stop > /dev/null 2>&1 /sbin/chkconfig --del opensips fi
/bin/sh
/sbin/chkconfig --add opensips