openbsd-ports/net/vtun/pkg/DEINSTALL
brad 64898df482 - have INSTALL script create vtund log dir
- have DEINSTALL script remind the user to remove the dir if wanting a
full deinstall
2000-02-07 08:44:04 +00:00

26 lines
618 B
Plaintext

# $OpenBSD: DEINSTALL,v 1.2 2000/02/07 08:44:04 brad Exp $
#
# vtun de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_FILE=/etc/vtund.conf
if [ -f ${CONFIG_FILE} ]; 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 /var/log/vtund"
echo "|"
echo "| Do not do this if you plan on re-installing $1"
echo "| at some future time."
echo "+---------------"
echo
fi
exit 0