On Fri, Jul 27, 2007 at 02:39:02PM -0700, Doug Barton wrote: > Rong-En Fan wrote: > > rafan 2007-07-27 11:59:29 UTC > > > > FreeBSD ports repository > > > > Modified files: > > net-mgmt/net-snmp4 Makefile pkg-plist > > Added files: > > net-mgmt/net-snmp4/files snmpd.in > > Removed files: > > net-mgmt/net-snmp4/files snmpd.sh.sample > > Log: > > - Convert to rc.d style script > > - Bump PORTREVISION > > > > Note that I changed few places of the patch to match Porter's Handbook. > > > > PR: ports/114952 > > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=114952 > > Submitted by: Chris Cowart <ccowart at rescomp.berkeley.edu> > > > > Revision Changes Path > > 1.106 +2 -6 ports/net-mgmt/net-snmp4/Makefile > > 1.1 +26 -0 ports/net-mgmt/net-snmp4/files/snmpd.in (new) > > 1.2 +0 -20 ports/net-mgmt/net-snmp4/files/snmpd.sh.sample (dead) > > 1.24 +0 -1 ports/net-mgmt/net-snmp4/pkg-plist > > > > This looks good overall. One question, it looks like this script is > starting a service, would it benefit from the shutdown KEYWORD?
Not quite sure whether we should add it. Both net-mgmt/net-snmp and base's bsnmpd do not have this keyword. Keep this daemon running during shutdown process may not be a bad idea, i.e. you can still monitoring the target system. Regards, Rong-En Fan > > Doug > > -- > > This .signature sanitized for your protection
pgpSSNPoDI3sG.pgp
Description: PGP signature
