Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc move ipmon's "-D" argument from "command_args" to "ipmon...
details: https://anonhg.NetBSD.org/src/rev/ba7e823ffe7e
branches: trunk
changeset: 565316:ba7e823ffe7e
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Apr 04 13:59:36 2004 +0000
description:
move ipmon's "-D" argument from "command_args" to "ipmon_flags" so that
passing an (optional) filename argument (that must come last) works fine
from $ipmon_flags. from PR#25006.
diffstat:
etc/defaults/rc.conf | 4 ++--
etc/rc.d/ipmon | 3 +--
2 files changed, 3 insertions(+), 4 deletions(-)
diffs (37 lines):
diff -r a4123cf5aa4f -r ba7e823ffe7e etc/defaults/rc.conf
--- a/etc/defaults/rc.conf Sun Apr 04 12:53:03 2004 +0000
+++ b/etc/defaults/rc.conf Sun Apr 04 13:59:36 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rc.conf,v 1.56 2004/02/18 17:36:34 jonb Exp $
+# $NetBSD: rc.conf,v 1.57 2004/04/04 13:59:36 mrg Exp $
#
# /etc/defaults/rc.conf --
# default configuration of /etc/rc.conf
@@ -136,7 +136,7 @@
ipnat=NO # uses /etc/ipnat.conf
ipfs=NO ipfs_flags="" # save/load ipnat and ipf states
ipsec=NO # uses /etc/ipsec.conf
-ipmon=NO ipmon_flags="-ns" # syslog ipfilter messages
+ipmon=NO ipmon_flags="-Dns" # syslog ipfilter messages
racoon=NO # IKE daemon
auto_ifconfig=YES # config all avail. interfaces
net_interfaces="" # used only if above is NO
diff -r a4123cf5aa4f -r ba7e823ffe7e etc/rc.d/ipmon
--- a/etc/rc.d/ipmon Sun Apr 04 12:53:03 2004 +0000
+++ b/etc/rc.d/ipmon Sun Apr 04 13:59:36 2004 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: ipmon,v 1.10 2002/10/21 05:20:00 lukem Exp $
+# $NetBSD: ipmon,v 1.11 2004/04/04 13:59:36 mrg Exp $
#
# PROVIDE: ipmon
@@ -12,7 +12,6 @@
name="ipmon"
rcvar=$name
command="/usr/sbin/${name}"
-command_args="-D"
pidfile="/var/run/${name}.pid"
load_rc_config $name
Home |
Main Index |
Thread Index |
Old Index