The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.85: download - view: text, markup, annotated - select for diffs
Fri Oct 16 15:31:04 2020 UTC (4 years, 3 months ago) by kim
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -4 lines
network: Update rtsol options

- Use "-6" instead of "--noipv4" as it seems more appropriate based on
  the dhcpcd(8) manual page.
- Remove "-f /dev/null" as it seems unnecessary with "-6".
- Remove "--persistent" as it is in the default /etc/dhcpcd.conf,
  and this way the user can change it, if they would like to (either
  through dhcpcd_flags or by editing /etc/dhcpcd.conf).

The "-b" (or "--background") option is needed to avoid a timeout error
message (and a delay in booting), so it is still left in place.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Thu Oct 15 07:05:27 2020 UTC (4 years, 3 months ago) by kim
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +2 -3 lines
Update "rtsol" keyword: leave IPv6 autoconf on

There is no need to turn off ipv6_autoconf or dhcp6 in dhcpcd to match
the previous behaviour with in-kernel RA processing.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Sun Oct 11 22:38:48 2020 UTC (4 years, 4 months ago) by kim
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +5 -2 lines
Make "rtsol" functional again.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Tue Sep 8 12:52:18 2020 UTC (4 years, 5 months ago) by martin
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +2 -2 lines
Rename MOUNTCRITLOCAL to CRITLOCALMOUNTED to avoid a name collision
on case insensitive file systems

Revision 1.81: download - view: text, markup, annotated - select for diffs
Wed Jul 22 16:50:41 2020 UTC (4 years, 6 months ago) by martin
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +2 -2 lines
Split the local disk availability step into two phases to allow scripts
that pre-populate parts of the system (e.g. a tmpfs based /var) an
easy place to plug in like:

# REQUIRE: mountcritlocal
# BEFORE: MOUNTCRITLOCAL

This also cleans up the existing special handling a bit by separating it
into new scripts. All later scripts now depend on MOUNTCRITLOCAL.
Discussed on tech-userlevel some time ago.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Sat Jul 4 06:24:53 2020 UTC (4 years, 7 months ago) by skrll
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -2 lines
Trailing whitespace

Revision 1.79: download - view: text, markup, annotated - select for diffs
Fri Jun 12 11:04:45 2020 UTC (4 years, 8 months ago) by roy
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +8 -23 lines
Remove in-kernel handling of Router Advertisements

This is much better handled by a user-land tool.
Proposed on tech-net here:
https://mail-index.netbsd.org/tech-net/2020/04/22/msg007766.html

Note that the ioctl SIOCGIFINFO_IN6 no longer sets flags. That now
needs to be done using the pre-existing SIOCSIFINFO_FLAGS ioctl.

Compat is fully provided where it makes sense, but trying to turn on
RA handling will obviously throw an error as it no longer exists.

Note that if you use IPv6 temporary addresses, this now needs to be
turned on in dhcpcd.conf(5) rather than in sysctl.conf(5).

Revision 1.71.8.2: download - view: text, markup, annotated - select for diffs
Thu Apr 23 13:59:32 2020 UTC (4 years, 9 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.71.8.1: preferred, colored; branchpoint 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.8.1: +13 -5 lines
Pull up following revision(s) (requested by kim in ticket #1538):

	usr.sbin/rtsold/rtsold.8: revision 1.37
	usr.sbin/rtsold/rtsold.8: revision 1.38
	usr.sbin/rtsold/rtsold.8: revision 1.39
	share/man/man5/ifconfig.if.5: revision 1.20
	etc/rc.d/network: revision 1.77
	etc/rc.d/network: revision 1.78 (plus patch)
	usr.sbin/rtsold/rtsold.8: revision 1.40
	usr.sbin/rtsold/rtsold.8: revision 1.41
	usr.sbin/rtsold/rtsold.8: revision 1.42
	share/man/man5/ifconfig.if.5: revision 1.19

Add rtsol to the NAME section as well

rc.d/network: improve wording of waiting for DAD to finish

Revert unrelated changes to prior

Use .Dl for one line literal display.  Add SEE ALSO.

Remove trailing dot in SEE ALSO.

Add an "rtsol" keyword to ifconfig.if for enabling IPv6 RS/RA

Sort SEE ALSO.

Update date

Revision 1.71.8.1: download - view: text, markup, annotated - select for diffs
Thu Apr 23 13:43:42 2020 UTC (4 years, 9 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +34 -1 lines
Pull up following revision(s) (requested by kim in ticket #1537):

	share/man/man5/rc.conf.5: revision 1.172
	etc/rc.d/network: revision 1.75

Allow rc.conf to setup resolv.conf via resolvconf(8).

This allows all static network config to be in rc.conf rather than
spread across files.

Revision 1.76.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 22 17:55:16 2020 UTC (4 years, 9 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +11 -2 lines
Pull up following revision(s) (requested by kim in ticket #838):

	share/man/man5/ifconfig.if.5: revision 1.20
	etc/rc.d/network: revision 1.78 (plus patch)
	usr.sbin/rtsold/rtsold.8: revision 1.42

Add an "rtsol" keyword to ifconfig.if for enabling IPv6 RS/RA

Sort SEE ALSO.
Update date

Revision 1.73.6.3: download - view: text, markup, annotated - select for diffs
Tue Apr 21 18:41:54 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.73.6.2: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.6.2: +9 -1 lines
Sync with HEAD

Revision 1.78: download - view: text, markup, annotated - select for diffs
Wed Apr 15 20:31:57 2020 UTC (4 years, 9 months ago) by kim
Branches: MAIN
CVS tags: phil-wifi-20200421
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +10 -2 lines
Add an "rtsol" keyword to ifconfig.if for enabling IPv6 RS/RA

Revision 1.73.6.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:03:58 2020 UTC (4 years, 10 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.73.6.1: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.6.1: +3 -4 lines
Merge changes from current as of 20200406

Revision 1.77: download - view: text, markup, annotated - select for diffs
Sat Feb 22 11:52:45 2020 UTC (4 years, 11 months ago) by roy
Branches: MAIN
CVS tags: phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +3 -4 lines
rc.d/network: improve wording of waiting for DAD to finish

Revision 1.73.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 21:42:45 2019 UTC (5 years, 8 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +38 -5 lines
Sync with HEAD

Revision 1.73.4.2: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:49:59 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.73.4.1: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.4.1: +4 -3 lines
Sync with HEAD, resolve a couple of conflicts

Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue Oct 23 09:25:33 2018 UTC (6 years, 3 months ago) by mrg
Branches: MAIN
CVS tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Branch point for: netbsd-9
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +4 -3 lines
only flush routes in stop routine if flushroutes is true, same as
the start up.

Revision 1.73.4.1: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:33:02 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +35 -3 lines
Sync with HEAD

Revision 1.75: download - view: text, markup, annotated - select for diffs
Fri Jul 27 15:31:02 2018 UTC (6 years, 6 months ago) by roy
Branches: MAIN
CVS tags: pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +34 -1 lines
Allow rc.conf to setup resolv.conf via resolvconf(8).
This allows all static network config to be in rc.conf rather than
spread across files.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Fri Jun 29 12:34:15 2018 UTC (6 years, 7 months ago) by roy
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -3 lines
Remove dhclient from the base system.

Discussed here:
https://mail-index.netbsd.org/tech-userlevel/2018/06/21/msg011233.html

Revision 1.73: download - view: text, markup, annotated - select for diffs
Thu Jul 6 09:49:39 2017 UTC (7 years, 7 months ago) by kre
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +1 -1 lines

Revert previous - not a typo, even though it looks like one

Revision 1.72: download - view: text, markup, annotated - select for diffs
Thu Jul 6 09:24:47 2017 UTC (7 years, 7 months ago) by kre
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -2 lines

PR misc/52370

Correct typo.

XXX pullup 8, pullup 7

Revision 1.71: download - view: text, markup, annotated - select for diffs
Sun Mar 6 18:50:06 2016 UTC (8 years, 11 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +5 -5 lines
use kat, a version of cat that strips comments

Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu Jan 7 11:51:07 2016 UTC (9 years, 1 month ago) by roy
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +12 -13 lines
Instead of waiting for a duration based in IPv6 DAD count sysctl,
wait for 15 seconds for tentative flags to clear allowing 5 seconds
for detached flags to clear as well from configured addresses.

This is now protocol independant and allows time for the interfaces to
work out if they have a carrier or not.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue Oct 14 20:49:47 2014 UTC (10 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +2 -2 lines
fix syntax error

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Sep 21 09:48:32 2014 UTC (10 years, 4 months ago) by roy
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -2 lines
Use checkyesnox to test rtsol as it has been removed including its
default configuration which we should not warn about.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu Sep 11 13:10:03 2014 UTC (10 years, 5 months ago) by roy
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +16 -23 lines
Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@

Revision 1.61.12.3: download - view: text, markup, annotated - select for diffs
Tue Aug 19 23:45:51 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.61.12.2: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.12.2: +273 -214 lines
Rebase to HEAD as of a few days ago.

Revision 1.63.6.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:49:24 2014 UTC (10 years, 6 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +274 -215 lines
Rebase.

Revision 1.61.6.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:27:20 2014 UTC (10 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.61.6.1: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.6.1: +281 -207 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.66: download - view: text, markup, annotated - select for diffs
Tue Apr 29 09:58:18 2014 UTC (10 years, 9 months ago) by uebayasi
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +207 -207 lines
Indent.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Apr 29 09:56:16 2014 UTC (10 years, 9 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +12 -11 lines
Refactor a little to remove huge indents.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Tue Apr 29 09:42:51 2014 UTC (10 years, 9 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +59 -1 lines
Split huge monolithic functions for readability.

Revision 1.61.12.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:26:22 2013 UTC (11 years, 7 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.61.12.1: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.12.1: +21 -6 lines
resync from head

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Apr 20 18:24:18 2013 UTC (11 years, 9 months ago) by christos
Branches: MAIN
CVS tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900
Branch point for: tls-earlyentropy
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +21 -6 lines
don't attempt to create interfaces that exist and don't hide errors.

Revision 1.61.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 16 05:26:13 2013 UTC (12 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +5 -1 lines
sync with (a bit old) head

Revision 1.61.12.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 02:57:56 2012 UTC (12 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +5 -1 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Nov 2 08:36:13 2012 UTC (12 years, 3 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, agc-symver-base, agc-symver
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +5 -1 lines
print something before sleeping so that a user like me can see
what the mysterious pause is.

Revision 1.57.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 7 01:53:33 2011 UTC (14 years, 1 month ago) by riz
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2
Diff to: previous 1.57.2.1: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.1: +1 -0 lines
Pull up following revision(s) (requested by enami in ticket #1504):
	share/man/man8/rc.subr.8: revision 1.27
	etc/rc.subr: revision 1.86
	share/man/man5/ifconfig.if.5: revision 1.14
	etc/rc.d/network: revision 1.61
Add a collapse_backslash_newline function to rc.subr.
Collapse <abckslash><newline> sequences in /etc/ifconfig.xxx files read
by /etc/rc.d/network.  Fixes PR 41662 by Christoph Badura, which was
also reported independently by Jeremy C. Reed.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Sep 26 18:52:04 2010 UTC (14 years, 4 months ago) by apb
Branches: MAIN
CVS tags: yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, tls-maxphys
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -1 lines
Collapse <abckslash><newline> sequences in /etc/ifconfig.xxx files read
by /etc/rc.d/network.  Fixes PR 41662 by Christoph Badura, which was
also reported independently by Jeremy C. Reed.

Revision 1.57.8.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 05:21:24 2010 UTC (14 years, 9 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +12 -4 lines
sync to netbsd-5

Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Sep 11 21:25:07 2009 UTC (15 years, 5 months ago) by cegger
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +0 -21 lines
backout rev. 1.59. Will be re-done differently.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue Sep 8 08:56:33 2009 UTC (15 years, 5 months ago) by cegger
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +22 -1 lines
Do not flush routes if root file system is nfs mounted.
Fixes boot problem when the nfs server is in a different subnet.

Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Mon May 18 19:30:48 2009 UTC (15 years, 8 months ago) by bouyer
Branches: netbsd-5
CVS tags: netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +12 -4 lines
Pull up following revision(s) (requested by roy in ticket #757):
	etc/rc.d/network: revision 1.58
Only start dhcpcd per interface if not running the full dhcpcd daemon.
Only stop dhcpcd pre interface if it's running for the interface.
Fixes PR bin/40320

Revision 1.58: download - view: text, markup, annotated - select for diffs
Thu May 14 15:33:36 2009 UTC (15 years, 9 months ago) by roy
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +12 -4 lines
Only start dhcpcd per interface if not running the full dhcpcd daemon.
Only stop dhcpcd pre interface if it's running for the interface.

Fixes PR bin/40320

Revision 1.51.12.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 20:43:44 2009 UTC (16 years ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.51.12.2: preferred, colored; branchpoint 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.12.2: +4 -2 lines
Sync with HEAD.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sat Oct 11 17:28:03 2008 UTC (16 years, 4 months ago) by christos
Branches: MAIN
CVS tags: netbsd-5-base, 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, mjf-devfs2-base2, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Branch point for: netbsd-5, matt-nb5-mips64
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +5 -3 lines
eval arguments one more time so that quoting works.

Revision 1.51.12.2: download - view: text, markup, annotated - select for diffs
Sun Oct 5 20:11:20 2008 UTC (16 years, 4 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.51.12.1: preferred, colored; branchpoint 1.51: preferred, colored
Changes since revision 1.51.12.1: +162 -114 lines
Sync with HEAD.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Sep 26 10:31:46 2008 UTC (16 years, 4 months ago) by apb
Branches: MAIN
CVS tags: mjf-devfs2-base
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +30 -30 lines
Move default route configuration after interface alias address
configuration, in case people have default routes over aliased
addresses.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Sep 20 14:22:57 2008 UTC (16 years, 4 months ago) by apb
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -2 lines
remove an unecessary "eval"

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Sep 20 12:12:38 2008 UTC (16 years, 4 months ago) by apb
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +95 -47 lines
* Allow multiple commands in $ifconfig_xxN variables in rc.conf(5).
  This may be done either by embedding newlines in the value,
  or by using semicolons to represent line breaks (but not both at once).
* Allow shell quoting insode $ifconfig_xxN variables or /etc/ifconfig.xxN
  files.  This allows something like ifconfig_wi0="ssid 'my network'; dhcp"

Revision 1.51.16.2: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:41:08 2008 UTC (16 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.51.16.1: preferred, colored; branchpoint 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.16.1: +48 -48 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu Jul 24 19:48:19 2008 UTC (16 years, 6 months ago) by reed
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +48 -48 lines
Use absolute path for various /sbin tools.
This is consistent with several other rc.d scripts
and fixes problem with /sbin not in PATH.

(Tested several times for over three weeks, but not all
parts of this code were used by me.)

Revision 1.51.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:29:04 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +10 -2 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.51.14.1: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:03:27 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +10 -2 lines
sync with head

Revision 1.51.12.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:21:20 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +10 -2 lines
Sync with HEAD.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu May 29 15:38:35 2008 UTC (16 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +10 -2 lines
Allow per-interface DHCP configuration using dhcpcd via
ifconfig_xxN=dhcp or a dhcp line in /etc/ifconfig.xxN.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Feb 10 19:40:58 2007 UTC (18 years ago) by reed
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base2, yamt-pf42-base, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: yamt-pf42, wrstuden-revivesa, mjf-devfs2
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -2 lines
Fix typo/mispelling in comment.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Nov 24 17:28:45 2005 UTC (19 years, 2 months ago) by rpaulo
Branches: MAIN
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +17 -9 lines
RFC 3879 deprecated the IPv6 site-local prefix (fec0::/10):
    * remove all references to $ip6sitelocal and output a warning
    message if the variable is defined.
    * introduce $ip6uniquelocal (defaults to 'NO') that will control the
    behaviour of the system when $ip6mode is ``router'' (i.e. fc00::/7
    will not be routed if the variable is ``NO'') as per RFC 4193.

Thanks to Jonathan A. Kollasch for pointing this out in PR 32152.

Revision 1.44.4.2: download - view: text, markup, annotated - select for diffs
Tue Jul 5 21:23:17 2005 UTC (19 years, 7 months ago) by riz
Branches: netbsd-2
CVS tags: 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
Diff to: previous 1.44.4.1: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.4.1: +2 -2 lines
Pull up revision 1.49 (requested by symka in ticket #2038):
PR/29317: ifconfig.if does not allow parameters with spaces
OKeyd by christos@

Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Sat Jul 2 23:29:48 2005 UTC (19 years, 7 months ago) by tron
Branches: netbsd-3
CVS tags: 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
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +2 -2 lines
Pull up revision 1.49 (requested by symka in ticket #511):
PR/29317: ifconfig.if does not allow parameters with spaces
OKeyd by christos@

Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Jun 28 13:36:40 2005 UTC (19 years, 7 months ago) by symka
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -2 lines
PR/29317: ifconfig.if does not allow parameters with spaces

OKeyd by christos@

Revision 1.44.4.1: download - view: text, markup, annotated - select for diffs
Mon May 9 22:42:08 2005 UTC (19 years, 9 months ago) by riz
Branches: netbsd-2
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -2 lines
Pull up revision 1.47 (requested by lukem in ticket #1269):
Use 'load_rc_config_var CMD VAR' to set VAR for "foreign" rc.conf(5)
variables that may be set in /etc/rc.conf.d/CMD instead of /etc/rc.conf.
Fixes PR 20786 from Pavel Cahyna.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Apr 26 10:28:29 2005 UTC (19 years, 9 months ago) by cjs
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +7 -9 lines
Make ifaliases_lo0 in rc.conf work just like other interfaces (instead of
being ignored). Also, when configuring aliases set as ifaliases_xxN,
print out the interface name and the alias address.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue Oct 12 14:51:03 2004 UTC (20 years, 4 months ago) by lukem
Branches: MAIN
CVS tags: netbsd-3-base
Branch point for: netbsd-3
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -2 lines
Use 'load_rc_config_var CMD VAR' to set VAR for "foreign" rc.conf(5)
variables that may be set in /etc/rc.conf.d/CMD instead of /etc/rc.conf.
Fixes PR 20768 from Pavel Cahyna.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Mon Oct 11 15:00:51 2004 UTC (20 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +11 -11 lines
Use new style command substitution.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Aug 13 18:08:03 2004 UTC (20 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2 lines
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.38.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 5 04:55:45 2004 UTC (20 years, 8 months ago) by jmc
Branches: netbsd-1-6
Diff to: previous 1.38.2.1: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.2.1: +21 -3 lines
Pullup rev 1.44 (requested by itojun in ticket #1704)

Allow an IPv6 default route to be set from /etc/mygate6 or $defaultroute6.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Oct 12 09:50:05 2003 UTC (21 years, 4 months ago) by jdc
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-0-base, 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-0
Branch point for: netbsd-2
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +21 -3 lines
Allow an IPv6 default route to be set from /etc/mygate6 or $defaultroute6.
Approved by itojun@.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Jan 9 15:52:58 2003 UTC (22 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +1 -17 lines
revert previous; luke and matt want this as a separate script.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Jan 9 15:12:47 2003 UTC (22 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +19 -3 lines
Add /etc/route.conf processing to add static routes. Removes one more
reason for netstart.local.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Jan 7 08:41:55 2003 UTC (22 years, 1 month ago) by tron
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +1 -2 lines
Revert last change for now. It causes hangs during system shutdown when
NFS filesystems are mounted.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Jan 6 10:11:14 2003 UTC (22 years, 1 month ago) by tron
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -1 lines
Add keyword "shutdown" so that this script is really executed on system
shutdown to delete clone interfaces.

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Wed Oct 23 12:34:40 2002 UTC (22 years, 3 months ago) by lukem
Branches: netbsd-1-6
CVS tags: 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
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +15 -13 lines
Pull up revision 1.39 (requested by tron in ticket #901):
Automatically create and destroy cloning interfaces and sync IP Filter
immediately afterwards before bringing the interface up. This avoids
a small security gap existing in the previous scheme where IP Filter
was synced after all cloning interfaces were created and brought up.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Oct 5 05:24:40 2002 UTC (22 years, 4 months ago) by tron
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +15 -13 lines
Automatically create and destroy cloning interfaces and sync IP Filter
immediately afterwards before bringing the interface up. This avoids
a small security gap existing in the previous scheme where IP Filter
was synced after all cloning interfaces were created and brought up.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat May 4 13:53:02 2002 UTC (22 years, 9 months ago) by tron
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Branch point for: netbsd-1-6
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +11 -1 lines
Sync ipf(4) after starting or stopping. This is necesarry to make filter
rules for dynamically created interfaces like pppoe(4) effective.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Apr 29 12:13:14 2002 UTC (22 years, 9 months ago) by lukem
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +1 -15 lines
don't bother warning or supporting obsolete $ip6forwarding;
postinstall now checks for this

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Mar 27 07:37:56 2002 UTC (22 years, 10 months ago) by lukem
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2 lines
clean up warning

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Mar 24 17:58:21 2002 UTC (22 years, 10 months ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +18 -18 lines
Improve information density of output -- add the dozen -reject routes
with "route -q" since they are always the same and convey no useful
information.

While we're here, use sysctl -qw instead of sysctl -w >/dev/null

Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Mar 22 04:33:59 2002 UTC (22 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -1 lines
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.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Jul 22 13:33:59 2001 UTC (23 years, 6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
seperate -> separate

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Jul 8 07:16:00 2001 UTC (23 years, 7 months ago) by lukem
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -6 lines
After itojun's recent RTF_CLONED and other changes, it's not necessary to
add a route from an alias address to 127.0.0.1, so remove that code.
It's still necessary to configure lo0 -> 127.0.0.1 though, so emphasize that.

Revision 1.11.4.7: download - view: text, markup, annotated - select for diffs
Wed May 2 22:52:22 2001 UTC (23 years, 9 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Diff to: previous 1.11.4.6: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.4.6: +107 -96 lines
Pull up revisions 1.29-1.30 (via patch, requested by itojun):
  Add support for "!" and "#" syntax in /etc/ifconfig.*.

Revision 1.11.4.6: download - view: text, markup, annotated - select for diffs
Tue Mar 20 18:19:27 2001 UTC (23 years, 10 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.11.4.5: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.4.5: +8 -1 lines
Pull up revision 1.15 (requested by bouyer):
  Add support for cloning network devices (e.g. vlan).  Fixes
  PR#12398.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Mar 2 03:07:29 2001 UTC (23 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
comment correction: 127/8 must not leave the node (RFC1122)

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Jan 13 13:26:36 2001 UTC (24 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +94 -92 lines
move IPv6 mode/route configuration upwards, so that !rtsol in
/etc/ifconfig.* is meaningful.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Jan 11 17:56:16 2001 UTC (24 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +14 -2 lines
extend /etc/ifconfig.xxN, for comment lines (#) and shell script
fragment (!).  inspired by openbsd /etc/hostname.xxN.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Jan 3 17:54:05 2001 UTC (24 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -2 lines
add $ip6sitelocal, to control installation of reject route for fec0::/10.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Nov 26 06:46:42 2000 UTC (24 years, 2 months ago) by nisimura
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
More cautious about undefined hostname check in terms of what hostname(1)
returns.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Nov 22 04:20:04 2000 UTC (24 years, 2 months ago) by nisimura
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -4 lines
I believe in that the facy nested quotes was intended to skip blank
lines, but am not sure it is allowed as a standard practice of the
/etc/ifconfig.xxN file.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Nov 21 16:12:48 2000 UTC (24 years, 2 months ago) by wiz
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
un-break.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Nov 21 09:59:02 2000 UTC (24 years, 2 months ago) by lukem
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
minor typo in previous

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Nov 21 09:38:06 2000 UTC (24 years, 2 months ago) by nisimura
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3 lines
Shell programming police for sophistication; take #2.  Handle the
case when the filename expansion results in no match more gracefully.
Far less costy than invoking a new process.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Nov 21 08:39:50 2000 UTC (24 years, 2 months ago) by nisimura
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -5 lines
Shell programming police for sophistication.  It's not necessary
to enclose `prog` backquote command substitution with double quotes
as it produces a quoted string.  Other changes are pending this time.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Nov 17 04:19:06 2000 UTC (24 years, 3 months ago) by lukem
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -4 lines
- replace   `IFS='.'; set -- $int; echo $2`   with   ${int##*.}
- can't use $configured_interfaces in network_stop(), so use `ifconfig -lu`
  instead

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Oct 9 05:02:14 2000 UTC (24 years, 4 months ago) by nisimura
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +16 -22 lines
- avoid -a or -o logical operator of test command as possible.  They would
  introduce syntaxical ambiguousity, and having concatenation with && or
  || costs nothing because our sh(1) has test(1) builtin.
- use elif construct to avoid dungling else-ifs.
- while-read construct does not need enclosed by a sub-shell.
- variable detection could be done in eval args=\$ifconfig_$int
- smart variable substitution occationally saves lines and extra command
  invocations.

Revision 1.11.4.5: download - view: text, markup, annotated - select for diffs
Wed Aug 23 12:27:27 2000 UTC (24 years, 5 months ago) by lukem
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA
Diff to: previous 1.11.4.4: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.4.4: +2 -2 lines
pull up rev 1.19:
REQUIRE ipfilter and ipsec

approved: thorpej

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Aug 21 23:35:20 2000 UTC (24 years, 5 months ago) by lukem
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
REQUIRE ipfilter and ipsec

Revision 1.11.4.4: download - view: text, markup, annotated - select for diffs
Wed Aug 9 19:09:44 2000 UTC (24 years, 6 months ago) by lukem
Branches: netbsd-1-5
CVS tags: netbsd-1-5-ALPHA2
Diff to: previous 1.11.4.3: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.4.3: +3 -3 lines
pull up the following
approved by: thorpej

	etc/rc.d/DAEMON		1.3
	etc/rc.d/LOGIN		1.3
	etc/rc.d/NETWORK	1.1
	etc/rc.d/SERVERS	1.2
	etc/rc.d/cron		1.4
	etc/rc.d/dhclient	1.6
	etc/rc.d/dmesg		1.4
	etc/rc.d/inetd		1.5
	etc/rc.d/lkm1		1.3
	etc/rc.d/lkm2		1.3
	etc/rc.d/lkm3		1.4
	etc/rc.d/motd		1.3
	etc/rc.d/mountcritlocal		1.3-1.4
	etc/rc.d/mountcritremote	1.3
	etc/rc.d/mountd		1.7
	etc/rc.d/network	1.12 1.14
	etc/rc.d/ntpdate	1.4
	etc/rc.d/ppp		1.3-1.4
	etc/rc.d/pwcheck	1.3
	etc/rc.d/rpcbind	1.4
	etc/rc.d/sshd		1.3-1.5
	etc/rc.d/swap1		1.5
	etc/rc.d/swap2		1.4
	etc/rc.d/sysdb		1.3-1.4
	etc/rc.d/syslogd	1.5-1.6
	etc/rc.d/systemfs	REMOVE
	etc/rc.d/virecover	1.3
	etc/rc.d/wscons		1.4
	etc/rc.d/xdm		1.5

summary:

* reword descriptions
* add '# KEYWORD: shutdown' to some of these scripts so that only they get run
  at shutdown time.  now, only scripts with the keyword `shutdown' will be
  run by /etc/rc.shutdown, which speeds up shutdown and makes it more robust
* add new dummy dependancy `NETWORK' to be REQUIREd by services which need
  networking to be operational before starting, and use as appropriate.
  NETWORK depends upon network and dhclient.
* move the guts of systemfs into mountcritlocal
* replace the dependancy on systemfs with mountcritremote, and remove the
  former.
* SERVERS now also depends upon ppp
* move recreating /var/run/utmp from mountcritlocal (where /var/run is
  purged but /usr/bin/install is not available) to sysdb.
  problem noted by Matthias Drochner.
* share the same load_rc_config between the lkm* scripts
* network: Don't warn that $hostname isn't set if the hostname is already set.
* network: reenable stop_cmd now that network doesn't get run at shutdown
* add sshd startup script
* use "load_rc_config swap" for swap1 and swap2
* syslog requires databases from sysdb which creates /var/run/utmp.

Should fix PRs:
    [install/9853] [bin/10002] [misc/10349] [port-i386/10633] [misc/10641]

Revision 1.11.4.3: download - view: text, markup, annotated - select for diffs
Thu Aug 3 12:07:27 2000 UTC (24 years, 6 months ago) by itojun
Branches: netbsd-1-5
Diff to: previous 1.11.4.2: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.4.2: +14 -8 lines
pullup 1.16 -> 1.18 (approved by releng-1-5)

 > we need to sleep for IPv6 DAD period, before and after rtsol.
 > (they are for stability in boot-time configuration)
 > comment from perry.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Aug 2 13:59:11 2000 UTC (24 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
fix comment on DAD wait

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Aug 1 20:49:11 2000 UTC (24 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +14 -8 lines
we need to sleep for IPv6 DAD period, before and after rtsol.
(they are for stability in boot-time configuration)
comment from perry.

Revision 1.11.4.2: download - view: text, markup, annotated - select for diffs
Tue Jul 25 19:12:20 2000 UTC (24 years, 6 months ago) by jdolecek
Branches: netbsd-1-5
Diff to: previous 1.11.4.1: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.4.1: +3 -1 lines
pullup rev. 1.16 from trunk (approved by thorpej):
for ifaliases, add some comments about format without netmask beeing supported
for compatibility only

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Jul 25 18:47:28 2000 UTC (24 years, 6 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -1 lines
the format without netmask is supported for compatibility only and not
specifying it is discouradged, actually
also add comments about this fact to etc/rc.d/network, for people who
don't read manpages :)

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Jul 20 19:43:10 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +8 -1 lines
Build a list of cloning network interfaces to configure, as well
as normal interfaces.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Jul 17 15:25:42 2000 UTC (24 years, 7 months ago) by lukem
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
reenable stop_cmd now that network doesn't get run at shutdown

Revision 1.11.4.1: download - view: text, markup, annotated - select for diffs
Tue Jun 20 17:53:32 2000 UTC (24 years, 7 months ago) by itojun
Branches: netbsd-1-5
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -7 lines
remove ip6defaultif configuration, which is not for common installation.
approved by: releng-1-5

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Jun 20 16:48:19 2000 UTC (24 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -7 lines
remove ip6defaultif configuration.  because:
- ndp is in /usr/sbin, chokes on NFS-mounted /usr installation
- the option is just for IPv6 specification geek, not for normal users

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Jun 20 08:34:33 2000 UTC (24 years, 7 months ago) by enami
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
Don't warn that $hostname isn't set if the hostname is already set.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat May 13 08:45:07 2000 UTC (24 years, 9 months ago) by lukem
Branches: MAIN
CVS tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
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.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue May 9 10:49:26 2000 UTC (24 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -1 lines
do not let 127.0.0.0/8 leave the node.  based on RFC1122.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Apr 29 06:01:08 2000 UTC (24 years, 9 months ago) by veego
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Fix the last change so it doesn't fail due too a missing '; then'.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Apr 28 00:13:39 2000 UTC (24 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +8 -2 lines
Don't warn about $hostname not being set if $dhclient == YES; it's quite
likely that we'll be getting the hostname via DHCP when it runs.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Apr 20 02:12:04 2000 UTC (24 years, 10 months ago) by itojun
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -7 lines
rtsol is not a daemon.  rtsol.d should have been killed by rc.d/rtsold.
(correct me if i'm wrong)

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Apr 11 05:03:24 2000 UTC (24 years, 10 months ago) by lukem
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
make `stop' a no-op, so that the network doesn't disappear at an
inconvenient time during boot.

this may be fixed a different way in the long term...  (not that the old
rc.shutdown supported stopping the network, or could i really see a
practical use for allowing it at this stage, but in the future someone
might want the functionality i've just disabled).

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Apr 8 23:02:54 2000 UTC (24 years, 10 months ago) by tsarna
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
The file /etc/sysctl.conf is now run with sysctl -f at boot time.
This replaces the previous /etc/rc.d/sysctl. Also, the variables are now
set earlier, between ipf/ipnat and the network coming up.

The rc.conf defcorename and securelevel variables are no more. You can
set them directly in sysctl.conf now.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Mar 17 17:41:01 2000 UTC (24 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +35 -6 lines
correct reject route installations for IPv6.  improve comments.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Mar 12 04:21:26 2000 UTC (24 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +8 -1 lines
disallow packets to malicious 6to4 prefix, based on
http://playground.iijlab.net/i-d/draft-itojun-ipv6-transition-abuse-00.txt

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Mar 11 20:13:42 2000 UTC (24 years, 11 months ago) by veego
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Fix the network_stop function so it doesn't fails due to missing ]['s.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Mar 10 11:53:24 2000 UTC (24 years, 11 months ago) by lukem
Branches: TNF
CVS tags: rc-d-2000-03-10
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
rc.d scripts derived from /etc/rc

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Mar 10 11:53:24 2000 UTC (24 years, 11 months ago) by lukem
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>