PREUN
/bin/sh
if [ "$1" = "0" ]; then if [ -f /var/lock/subsys/nessusd ]; then /etc/rc.d/init.d/nessusd stop >&2 fi /sbin/chkconfig --del nessusd fi
POSTIN
/bin/sh
echo "Run \"/sbin/chkconfig --add nessusd\" to activate nessus daemon." echo "then run \"/etc/rc.d/init.d/nessusd start\" to start nessus daemon." echo "don't forget about /etc/nessus/nessusd.conf file!"