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