#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.2 2000/08/29 16:44:30 danh Exp $

do-deinstall () 
{
	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 /etc/raddb ]; then
		echo "|      /etc/raddb" 
	fi
	if [ -d /var/log/radacct ]; then
		echo "|      /var/log/radacct"
	fi
	echo "+---------------"
}

[ -d /etc/raddb -o -d /var/log/radacct ] && do-deinstall
exit 0
