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