diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2004-11-09 18:29:03 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2004-11-09 18:29:03 +0000 |
commit | 52518d83284735b77980d469b43eb421383efd08 (patch) | |
tree | c42de2f096cc98675a3e4fa6a056b1e7ab672d27 /security/nessus/scripts | |
parent | c0c4da186a007e90ce1346e18d0beafaf5d930e1 (diff) |
Notes
Diffstat (limited to 'security/nessus/scripts')
-rw-r--r-- | security/nessus/scripts/pkg-deinstall | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/security/nessus/scripts/pkg-deinstall b/security/nessus/scripts/pkg-deinstall new file mode 100644 index 000000000000..53ba586f97f6 --- /dev/null +++ b/security/nessus/scripts/pkg-deinstall @@ -0,0 +1,30 @@ +#!/bin/sh +# +# $FreeBSD: /tmp/pcvs/ports/security/nessus/scripts/Attic/pkg-deinstall,v 1.1 2004-11-09 18:29:03 sem Exp $ +# + +ECHO_CMD=echo + +case $2 in +POST-DEINSTALL) + ${ECHO_CMD} + ${ECHO_CMD} "The %%PKGNAME%% server package has been deleted." + ${ECHO_CMD} "If you're *not* upgrading and won't be using" + ${ECHO_CMD} "it any longer, you may want to issue the" + ${ECHO_CMD} "following commands:" + ${ECHO_CMD} + if [ -d %%PREFIX%%/var/nessus ]; then + ${ECHO_CMD} "- to delete the nessus server permanently (losing all data):" + ${ECHO_CMD} " rm -Rf %%PREFIX%%/var/nessus" + ${ECHO_CMD} + fi + if [ -d %%PREFIX%%/com/CA ]; then + ${ECHO_CMD} "- to remove the Certificate Authority associated with nessus:" + ${ECHO_CMD} " rm -Rf %%PREFIX%%/com/CA" + ${ECHO_CMD} + fi + ${ECHO_CMD} "If you are upgrading, don't forget to restart" + ${ECHO_CMD} "nessusd and updating the plugins." + ${ECHO_CMD} + ;; +esac |