2000-08-17 21:15:03 -04:00
|
|
|
#!/bin/sh
|
2001-02-12 21:10:57 -05:00
|
|
|
# $OpenBSD: DEINSTALL,v 1.4 2001/02/13 02:10:58 danh Exp $
|
2000-08-17 21:15:03 -04:00
|
|
|
|
2001-02-12 19:48:51 -05:00
|
|
|
set -e
|
|
|
|
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
|
|
|
|
PREFIX="${PKG_PREFIX:-/usr/local}"
|
|
|
|
CONFIG_DIR="${SYSCONFDIR}/raddb"
|
2001-02-12 21:10:57 -05:00
|
|
|
RADACCT_DIR="/var/log/radacct"
|
2001-02-12 19:48:51 -05:00
|
|
|
|
2001-02-12 21:10:57 -05:00
|
|
|
if [ -d ${CONFIG_DIR} -o -d ${RADACCT_DIR} ]; then
|
2000-08-29 12:47:00 -04:00
|
|
|
echo "+---------------"
|
|
|
|
echo "| If you do not plan on re-installing this package and have"
|
|
|
|
echo "| no more use for the previous configuration or data, then"
|
|
|
|
echo "| the following may safely be deleted:"
|
|
|
|
echo "|"
|
2001-02-12 19:48:51 -05:00
|
|
|
if [ -d ${CONFIG_DIR} ]; then
|
|
|
|
echo "| ${CONFIG_DIR}"
|
2000-08-17 21:15:03 -04:00
|
|
|
fi
|
2001-02-12 21:10:57 -05:00
|
|
|
if [ -d ${RADACCT_DIR} ]; then
|
|
|
|
echo "| ${RADACCT_DIR}"
|
2000-08-29 12:47:00 -04:00
|
|
|
fi
|
|
|
|
echo "+---------------"
|
2001-02-12 19:48:51 -05:00
|
|
|
fi
|
2000-08-17 21:15:03 -04:00
|
|
|
|
|
|
|
exit 0
|