openbsd-ports/net/ucd-snmp/pkg/DEINSTALL

20 lines
422 B
Plaintext
Raw Normal View History

2000-06-02 11:45:05 -04:00
#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.3 2001/02/13 02:23:40 danh Exp $
2000-06-02 11:45:05 -04:00
#
# 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
2000-06-02 11:45:05 -04:00
exit 0