openbsd-ports/net/vtun/pkg/DEINSTALL
naddy 05567778bd - use @extra
- mention tunnel insecurity in SECURITY
2003-09-28 17:45:36 +00:00

27 lines
625 B
Bash

#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.7 2003/09/28 17:45:36 naddy Exp $
#
# vtun de-installation
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_FILE=${SYSCONFDIR}/vtund.conf
LOG_DIR=${LOG_DIR}/log/vtund
if [ "$PKG_DELETE_EXTRA" != Yes ]; then
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you need to perform"
echo "| this step as root:"
echo "|"
echo "| rm -f $CONFIG_FILE"
echo "| rm -rf $LOG_DIR"
echo "|"
echo "| Do not do this if you plan on re-installing $1"
echo "| at some future time."
echo "+---------------"
echo
fi
exit 0