openbsd-ports/net/vtun/pkg/DEINSTALL
2002-02-24 04:24:50 +00:00

25 lines
569 B
Bash

#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.6 2002/02/24 04:24:50 brad 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
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
exit 0