freebsd-ports/net-mgmt/net-snmp-devel/pkg-message
Jun Kuriyama 87a8145c93 HEADS UP: After this commit, snmpd is not enabled by default.
See pkg-message for details.

* Use /etc/rc.conf variables to control snmpd invocation.
* Add some make variables to set default values.

Requested by:	many people :-)
2002-09-17 02:17:09 +00:00

23 lines
No EOL
702 B
Text

**** This port installs snmp daemon, include files and libraries but not
invoking snmpd by default.
If you want to invoke snmpd from startup, put these lines into
/etc/rc.conf.
net_snmpd_enable="YES"
net_snmpd_flags=""
**** You can specify make variables as:
NET_SNMP_SYS_CONTACT="kuriyama@FreeBSD.org"
NET_SNMP_SYS_LOCATION="Tokyo, Japan"
DEFAULT_SNMP_VERSION=3
NET_SNMP_LOGFILE=/var/log/snmpd.log
NET_SNMP_PERSISTENTDIR=/var/net-snmp
to define default values (or overwriting defaults). At least
setting first two variables, you will not be prompted during
configuration process. Or you can set
BATCH="yes"
to make to avoid interactive configuration.