PREUN
/bin/sh
if [ "$1" -eq 0 ] ; then /sbin/service openvas-manager stop >/dev/null 2>&1 /sbin/chkconfig --del openvas-manager fi
POSTIN
/bin/sh
# This adds the proper /etc/rc*.d links for the script if [ "$1" -eq 1 ] ; then /sbin/chkconfig --add openvas-manager fi
POSTUN
/bin/sh
# only for upgrades not erasure if [ "$1" -eq 1 ] ; then /sbin/service openvas-manager condrestart >/dev/null 2>&1 fi