openbsd-ports/sysutils/nut/pkg/DEINSTALL
2003-03-30 16:19:25 +00:00

35 lines
747 B
Bash

#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.3 2003/03/30 16:19:25 marcm Exp $
#
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
FILES='
nut/ups.conf
nut/upssched.conf
nut/upsmon.conf
nut/upsd.conf
nut/upsd.users
'
echo
echo "+--------------- $1"
echo "| To fully remove $1 from your system you should also"
echo "| remove the configuration files from the ${SYSCONFDIR}/nut directory."
echo "| Remove the directories in which the files reside as well if empty."
echo "|"
echo "| If you are planning on installing $1 again in the future"
echo "| you can leave it as it is."
echo "|"
echo "| FYI, the following configuration files belong to this package:"
echo "|"
for f in ${FILES}; do
echo "| ${SYSCONFDIR}/$f"
done
echo "+--------------- $1"
echo
exit 0