openbsd-ports/net/ucd-snmp/pkg/DEINSTALL
danh 5d89fd558a - /etc -> SYSCONFDIR
- general cleanups
2001-02-13 02:23:40 +00:00

20 lines
422 B
Bash

#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.3 2001/02/13 02:23:40 danh Exp $
#
# de-installation of ucd-snmp
PERSISTENT_DIR=/var/ucd-snmp
if [ -d ${PERSISTENT_DIR} ]; then
rm -rf ${PERSISTENT_DIR}
fi
if [ -f ${SYSCONFDIR}/snmpd.conf ]; then
echo "+------------"
echo "| If you do not plan on re-installing or upgrading this"
echo "| package, it is safe to remove ${SYSCONFDIR}/snmpd.conf"
echo "+------------"
fi
exit 0