#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.8 2003/06/23 19:11:10 sturm Exp $
#

set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin

FILES='
leafnode/config
'

SPOOLDIR=/var/spool/news

echo
echo "+--------------- $1"
echo "| To fully remove $1 from your system you should also"
echo "| remove the configuration files from the /etc/leafnode"
echo "| directory as well as the news spool directory ${SPOOLDIR}."
echo "|"
echo "| You should also remove the '_news' user from the system by running:"
echo "|"
echo "|     userdel _news"
echo "|"
echo "| If you are planning on installing $1 again in the future"
echo "| you can leave them as they are."
echo "|"
echo "| FYI, the following configuration files belong to this package:"
echo "|"
for f in ${FILES}; do
	echo "| /etc/$f"
done
echo "+--------------- $1"
echo

exit 0
