- /etc -> SYSCONFDIR
- general cleanups
This commit is contained in:
parent
e4ce0897f7
commit
5d89fd558a
@ -1,28 +1,19 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: DEINSTALL,v 1.2 2000/06/29 21:20:05 jakob Exp $
|
||||
# $OpenBSD: DEINSTALL,v 1.3 2001/02/13 02:23:40 danh Exp $
|
||||
#
|
||||
# de-installation of ucd-snmp
|
||||
|
||||
PERSISTENT_DIR=/var/ucd-snmp
|
||||
|
||||
remove_persistent()
|
||||
{
|
||||
rm -rf ${1}
|
||||
}
|
||||
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
|
||||
|
||||
do_deinstall()
|
||||
{
|
||||
if [ -d ${PERSISTENT_DIR} ]; then
|
||||
remove_persistent ${PERSISTENT_DIR}
|
||||
fi
|
||||
if [ -f /etc/snmpd.conf ]; then
|
||||
echo "+------------"
|
||||
echo "| If you do not plan on re-installing or upgrading this"
|
||||
echo "| package, it is safe to remove /etc/snmpd.conf"
|
||||
echo "+------------"
|
||||
fi
|
||||
}
|
||||
|
||||
do_deinstall ${PERSISTENT_DIR}
|
||||
exit 0
|
||||
|
@ -1,18 +1,17 @@
|
||||
This is UCD SNMP, a derivative of CMU's SNMP package.
|
||||
This is UCD SNMP, a derivative of CMU's SNMP package. From
|
||||
the README:
|
||||
|
||||
From the README:
|
||||
This package contains a port and modified code of the CMU 2.1.2.1
|
||||
snmp agent. It has been modified to allow extensibility quickly
|
||||
and easily. It is far from the best and most configurable systems;
|
||||
but hey: its free.
|
||||
|
||||
This package contains a port and modified code of the CMU 2.1.2.1
|
||||
snmp agent. It has been modified to allow extensibility quickly
|
||||
and easily. It is far from the best and most configurable systems;
|
||||
but hey: its free.
|
||||
|
||||
We use this agent here to monitor known system problems before they
|
||||
take the machine over. The agent can be easily configured to
|
||||
monitor the number of a given process running, run external scripts
|
||||
to check and report functional status. Examples: mountd(s) under
|
||||
Ultrix 4.3 which tend to fork themselves crazy and eventually fill
|
||||
up the process table; On our hp700s, "amd" sometimes stops working,
|
||||
HP VUE hangs and fails to start X, etc.
|
||||
We use this agent here to monitor known system problems before they
|
||||
take the machine over. The agent can be easily configured to
|
||||
monitor the number of a given process running, run external scripts
|
||||
to check and report functional status. Examples: mountd(s) under
|
||||
Ultrix 4.3 which tend to fork themselves crazy and eventually fill
|
||||
up the process table; On our hp700s, "amd" sometimes stops working,
|
||||
HP VUE hangs and fails to start X, etc.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
||||
|
@ -8,9 +8,9 @@
|
||||
| following in /etc/rc.local.
|
||||
|
|
||||
| if [ -x ${PREFIX}/sbin/snmpd ]; then
|
||||
| ${PREFIX}/sbin/snmpd -c /etc/snmpd.conf && echo -n ' snmpd'
|
||||
| ${PREFIX}/sbin/snmpd -c ${SYSCONFDIR}/snmpd.conf && echo -n ' snmpd'
|
||||
| fi
|
||||
|
|
||||
| This will start snmpd and use /etc/snmpd.conf for the configuration.
|
||||
| This will start snmpd and use ${SYSCONFDIR}/snmpd.conf for the configuration.
|
||||
| (see snmpd(5) for available options)
|
||||
+------------
|
||||
|
Loading…
Reference in New Issue
Block a user