History log of /netbsd-current/etc/rc.d/ipmon
Revision Date Author Comments
# 1.12 13-Aug-2004 mycroft

Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this
for a speedup by doing:
$_rc_subr_loaded . /etc/rc.subr


# 1.11 04-Apr-2004 mrg

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.


# 1.10 20-Oct-2002 lukem

branches: 1.10.2;
ipmon -D writes a pidfile; use it


# 1.9 17-Apr-2002 lukem

branches: 1.9.2;
Revert previous:
+ it was not discussed first
+ it is not consistent with the rest of the rc.d system. everything else:
- has defaults & example configuration in /etc/defaults/rc.conf
- uses lower-case variable names, including ipmon itself

Similar functionality added by the change I'm backing out may be
reintroduced in the future once it's been changed to meet our de-facto
rc.d standards, as opposed to something that appears to have been
lifted from a non-NetBSD source (HP/UX ?) ...


# 1.8 17-Apr-2002 darrenr

load_rc_config needs to be called earlier to pickup the variables from the
config file so they can be used in the rc script itself.


# 1.7 17-Apr-2002 darrenr

Modify the script to use variable names provided by the ipmon conf file to
enable/disable "key" features.


# 1.6 21-Mar-2002 thorpej

Correct the "direction" of the barrier dependencies (DAEMON, LOGIN,
NETWORKING, and SERVERS) by specifying that certain things should
come BEFORE a given barrier, rather than having the barrier REQUIRE
a service. This allows scripts to be removed without having to
edit the barrier dependencies.

As discussed on tech-userlevel, and approved by Luke.


# 1.5 27-Feb-2002 lukem

ipmon: set -D via command_args rather than the default ipmon_flags.
resolves [install/15753]


# 1.4 04-Jul-2001 tron

Start "ipmon" with option "D" for daemon mode instead of starting it
in a subshell.


# 1.3 19-Sep-2000 lukem

- only perform the checkyesno on the variable named in $rcvar (rather than
implicitly using $name if $rcvar isn't set), and always perform this check,
even when using start_cmd (et al).
this check is performed before the pidcmd
is run, speeding up scripts that weren't going to be run anyway.
this should speed up booting slow systems.

- take advantage of the above and remove
start_precmd="checkyesno foo"
in scripts that use start_cmd.

- explicitly set rcvar=foo in the rc.d/foo scripts which have an equivalent
rc.conf entry

- fix `rcvar' and `restart' when $rcvar isn't set.
these above changes fix PR [bin/11027].

- when doing `force*', ignore the return value of *_precmd.
this fixes PR [bin/10781].

- rename what sysdb provides from `databases' to `sysdb', to reflect
the name of the script.

- improve the comments in rc.subr


# 1.2 13-May-2000 lukem

branches: 1.2.4;
Use load_rc_config() (from rc.subr) instead of sourcing /etc/rc.conf.
This allows us or a user to change the configuration file method in
one place - rc.subr - without having to edit all of the rc.d/* files.


# 1.1 10-Mar-2000 lukem

branches: 1.1.1;
Initial revision


# 1.1.1.1 10-Mar-2000 lukem

rc.d scripts derived from /etc/rc


# 1.2.4.2 06-Mar-2002 he

Pull up revisions 1.4-1.5 (requested by martti):
Added ipfs to save state tables. Use -D for ipmon.


# 1.2.4.1 01-Oct-2000 lukem

pull up rev 1.3 (approved by thorpej):
- always use $rcvar to determine the name of the var to checkyesno
- fix force*


# 1.9.2.2 09-Apr-2004 tron

Pull up revision 1.11 (requested by mrg in ticket #1663):
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.


# 1.9.2.1 09-Apr-2004 tron

Pull up revision 1.10 (requested by mrg in ticket #1662):
ipmon -D writes a pidfile; use it


# 1.10.2.1 05-Apr-2004 jmc

Pullup rev 1.11 (requested by mrg in ticket #66)

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. PR#25006