e84ca4f0e9
- /etc -> SYSCONFDIR - cleanup Makefile and DESCR.
26 lines
650 B
Bash
26 lines
650 B
Bash
#!/bin/sh
|
|
# $OpenBSD: DEINSTALL,v 1.4 2001/02/13 02:10:58 danh Exp $
|
|
|
|
set -e
|
|
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
|
|
PREFIX="${PKG_PREFIX:-/usr/local}"
|
|
CONFIG_DIR="${SYSCONFDIR}/raddb"
|
|
RADACCT_DIR="/var/log/radacct"
|
|
|
|
if [ -d ${CONFIG_DIR} -o -d ${RADACCT_DIR} ]; then
|
|
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 "|"
|
|
if [ -d ${CONFIG_DIR} ]; then
|
|
echo "| ${CONFIG_DIR}"
|
|
fi
|
|
if [ -d ${RADACCT_DIR} ]; then
|
|
echo "| ${RADACCT_DIR}"
|
|
fi
|
|
echo "+---------------"
|
|
fi
|
|
|
|
exit 0
|