The NetBSD Project

CVS log for src/etc/rc.d/ipfs

[BACK] Up to [cvs.netbsd.org] / src / etc / rc.d

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.7 / (download) - annotate - [select for diffs], Fri Aug 13 18:08:03 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-6-base, netbsd-6, netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, mjf-devfs2-base2, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, abandoned-netbsd-4-base, abandoned-netbsd-4, HEAD
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

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

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Mon Jul 5 21:33:24 2004 UTC (7 years, 10 months ago) by he
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Pull up revisions 1.5-1.6 (requested by martin in ticket #600):
  Make sure ipfs gets to save state before the state is
  destroyed either by interfaces being brought down or isdnd
  being shut down (on general shutdown), and restore any state
  by having it run before any servers are started.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jul 5 08:21:15 2004 UTC (7 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

* Add BEFORE: SERVERS, so state is restored much earlier in the boot sequence.
* REQUIRE: isdnd, so this will be shutdown before that, to prevent
  future problem if isdnd eve gets an explicit "shutdown" keyword.

Per discussion with Martin Husemann.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jul 5 07:53:03 2004 UTC (7 years, 10 months ago) by martin
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Make sure "downinterfaces" comes first - this means on shutdown this
script will run before downinterfaces destroys all state we try to
save here.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Mar 22 04:16:39 2002 UTC (10 years, 2 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-2-0-base, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, fvdl_fs64_base
Branch point for: netbsd-2-0
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

- Rename a bunch of "internal" run_rc_command() variables and officially
  make them "externally" available:
	Previous	Current		Purpose
	--------	-------		-------
	_arg		rc_arg		Argument to command, after fast/force
					processing performed (and prefix
					removed)

	_flags		rc_flags	Flags to start the default command
					with.  Defaults to ${name}_flags,
					unless overridden by $flags from the
					environment.  This variable may be
					changed by the precmd method.

	_pid		rc_pid		PID of command (if appropriate).

	_rc_run_fast	rc_fast		Not empty is "fast" was provided.

	_rc_run_force	rc_force	Not empty is "force" was provided.

- Use rc_flags instead of _flags or ${name}_flags in various rc.d scripts,
  so that $flags from the environment overrides ${name}_flags from rc.conf(5).
  Fixes [bin/15800].

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Wed Mar 6 22:24:23 2002 UTC (10 years, 2 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.3.2.1: +36 -0 lines
Diff to previous 1.3.2.1 (colored) next main 1.4 (colored)

Pull up revisions 1.1-1.3 (new, requested by martti):
  Added ipfs to save state tables.  Use -D for ipmon.

Revision 1.3.2.1, Mon Feb 11 13:55:42 2002 UTC (10 years, 3 months ago) by he
Branch: netbsd-1-5
Changes since 1.3: +0 -36 lines
FILE REMOVED

file ipfs was added on branch netbsd-1-5 on 2002-03-06 22:24:23 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Mon Feb 11 13:55:42 2002 UTC (10 years, 3 months ago) by lukem
Branch: MAIN
Branch point for: netbsd-1-5
Changes since 1.2: +3 -10 lines
Diff to previous 1.2 (colored)

- Remove previous hack; rc.subr warns about the variable not being set
  for a reason, which is usually ``your /etc/defaults/rc.conf is not up
  to date''.
- Consolidate `rm's into one line.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Feb 11 13:39:14 2002 UTC (10 years, 3 months ago) by martti
Branch: MAIN
Changes since 1.1: +8 -2 lines
Diff to previous 1.1 (colored)

Don't try to execute this script if ipfs is not set to YES. Otherwise
you'll see the following message:

   # /etc/rc.d/ipfs stop
   /etc/rc.d/ipfs: WARNING: $ipfs is not set properly.

This horrible change is needed because of the "shutdown" keyword.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Feb 11 10:19:55 2002 UTC (10 years, 3 months ago) by martti
Branch: MAIN

ipfs allows state information created for NAT entries and rules using
keep state to be locked (modification prevented) and then saved to disk,
allowing for the system to experience a reboot, followed by the restoration
of that information, resulting in connections not being interrupted.

To activate this feature, set ipfs=YES in /etc/rc.conf

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>