2000-07-19 05:31:17 -04:00
|
|
|
#!/bin/sh
|
2002-02-23 23:24:50 -05:00
|
|
|
# $OpenBSD: DEINSTALL,v 1.6 2002/02/24 04:24:50 brad Exp $
|
2000-02-07 03:24:48 -05:00
|
|
|
#
|
|
|
|
# vtun de-installation
|
|
|
|
|
|
|
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
|
|
|
PREFIX=${PKG_PREFIX:-/usr/local}
|
2001-02-28 08:57:56 -05:00
|
|
|
CONFIG_FILE=${SYSCONFDIR}/vtund.conf
|
2002-02-23 23:24:50 -05:00
|
|
|
LOG_DIR=${LOG_DIR}/log/vtund
|
2000-02-07 03:24:48 -05:00
|
|
|
|
2002-02-23 23:24:50 -05:00
|
|
|
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
|
2000-02-07 03:24:48 -05:00
|
|
|
|
|
|
|
exit 0
|