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