Subject: Re: install/15753: Inaccurate doc for impon
To: NetBSD GNATS submissions and followups <gnats-bugs@gnats.netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 02/27/2002 14:22:00
[ On Wednesday, February 27, 2002 at 19:19:52 (+0100), Xavier HUMBERT wrote: ]
> Subject: install/15753: Inaccurate doc for impon
>
> >Fix:
> add the -D flag for ipmon in rc.conf sample to the page 
>          Documentation/network/nsps/services.html
> 

better fix:

*** /work/NetBSD/src/etc/rc.d/ipmon     Fri Jul  6 00:36:28 2001
--- ./ipmon     Sun Mar 25 15:12:55 2001
***************
*** 11,16 ****
--- 11,17 ----
  name="ipmon"
  rcvar=$name
  command="/usr/sbin/${name}"
+ command_args="-D"
  
  load_rc_config $name
  run_rc_command "$1"



And of course along with it this change too (hand-crafted diff-like format)


*** /work/NetBSD/src/etc/defaults/rc.conf       Wed Feb 27 03:31:55 2002
--- ./rc.conf   Sat Jan 19 14:51:28 2002
***************
- ipmon=NO		ipmon_flags="-Dns"	# syslog ipfilter messages
---
+ ipmon=NO		ipmon_flags="-s -o I"	# syslog ipfilter messages,


(there are many good reasons '-n' is WRONG for the default, and '-o I'
seems like a good idea too)

-- 
								Greg A. Woods

+1 416 218-0098;  <gwoods@acm.org>;  <g.a.woods@ieee.org>;  <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>