Up to [cvs.netbsd.org] / src / etc / rc.d
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.57.2.2 / (download) - annotate - [select for diffs], Fri Jan 7 01:53:33 2011 UTC (16 months, 2 weeks ago) by riz
Branch: netbsd-5
Changes since 1.57.2.1: +1 -0
lines
Diff to previous 1.57.2.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)
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) - annotate - [select for diffs], Sun Sep 26 18:52:04 2010 UTC (19 months, 4 weeks ago) by apb
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
netbsd-6-base,
netbsd-6,
matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
HEAD
Changes since 1.60: +2 -1
lines
Diff to previous 1.60 (colored)
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) - annotate - [select for diffs], Wed Apr 21 05:21:24 2010 UTC (2 years, 1 month ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Changes since 1.57: +12 -4
lines
Diff to previous 1.57 (colored) next main 1.58 (colored)
sync to netbsd-5
Revision 1.60 / (download) - annotate - [select for diffs], Fri Sep 11 21:25:07 2009 UTC (2 years, 8 months ago) by cegger
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.59: +0 -21
lines
Diff to previous 1.59 (colored)
backout rev. 1.59. Will be re-done differently.
Revision 1.59 / (download) - annotate - [select for diffs], Tue Sep 8 08:56:33 2009 UTC (2 years, 8 months ago) by cegger
Branch: MAIN
Changes since 1.58: +22 -1
lines
Diff to previous 1.58 (colored)
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) - annotate - [select for diffs], Mon May 18 19:30:48 2009 UTC (3 years ago) by bouyer
Branch: 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-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
matt-nb5-pq3-base,
matt-nb5-pq3
Changes since 1.57: +12 -4
lines
Diff to previous 1.57 (colored)
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) - annotate - [select for diffs], Thu May 14 15:33:36 2009 UTC (3 years ago) by roy
Branch: MAIN
Changes since 1.57: +12 -4
lines
Diff to previous 1.57 (colored)
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) - annotate - [select for diffs], Sat Jan 17 20:43:44 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.51.12.2: +4 -2
lines
Diff to previous 1.51.12.2 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)
Sync with HEAD.
Revision 1.57 / (download) - annotate - [select for diffs], Sat Oct 11 17:28:03 2008 UTC (3 years, 7 months ago) by christos
Branch: 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
Changes since 1.56: +5 -3
lines
Diff to previous 1.56 (colored)
eval arguments one more time so that quoting works.
Revision 1.51.12.2 / (download) - annotate - [select for diffs], Sun Oct 5 20:11:20 2008 UTC (3 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.51.12.1: +162 -114
lines
Diff to previous 1.51.12.1 (colored) to branchpoint 1.51 (colored)
Sync with HEAD.
Revision 1.56 / (download) - annotate - [select for diffs], Fri Sep 26 10:31:46 2008 UTC (3 years, 7 months ago) by apb
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.55: +30 -30
lines
Diff to previous 1.55 (colored)
Move default route configuration after interface alias address configuration, in case people have default routes over aliased addresses.
Revision 1.55 / (download) - annotate - [select for diffs], Sat Sep 20 14:22:57 2008 UTC (3 years, 8 months ago) by apb
Branch: MAIN
Changes since 1.54: +2 -2
lines
Diff to previous 1.54 (colored)
remove an unecessary "eval"
Revision 1.54 / (download) - annotate - [select for diffs], Sat Sep 20 12:12:38 2008 UTC (3 years, 8 months ago) by apb
Branch: MAIN
Changes since 1.53: +95 -47
lines
Diff to previous 1.53 (colored)
* 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) - annotate - [select for diffs], Thu Sep 18 04:41:08 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.51.16.1: +48 -48
lines
Diff to previous 1.51.16.1 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)
Sync with wrstuden-revivesa-base-2.
Revision 1.53 / (download) - annotate - [select for diffs], Thu Jul 24 19:48:19 2008 UTC (3 years, 10 months ago) by reed
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2
Changes since 1.52: +48 -48
lines
Diff to previous 1.52 (colored)
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) - annotate - [select for diffs], Mon Jun 23 04:29:04 2008 UTC (3 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.51: +10 -2
lines
Diff to previous 1.51 (colored)
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.51.14.1 / (download) - annotate - [select for diffs], Wed Jun 4 02:03:27 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.51: +10 -2
lines
Diff to previous 1.51 (colored) next main 1.52 (colored)
sync with head
Revision 1.51.12.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:20 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.51: +10 -2
lines
Diff to previous 1.51 (colored)
Sync with HEAD.
Revision 1.52 / (download) - annotate - [select for diffs], Thu May 29 15:38:35 2008 UTC (3 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base
Changes since 1.51: +10 -2
lines
Diff to previous 1.51 (colored)
Allow per-interface DHCP configuration using dhcpcd via ifconfig_xxN=dhcp or a dhcp line in /etc/ifconfig.xxN.
Revision 1.51 / (download) - annotate - [select for diffs], Sat Feb 10 19:40:58 2007 UTC (5 years, 3 months ago) by reed
Branch: 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
Changes since 1.50: +2 -2
lines
Diff to previous 1.50 (colored)
Fix typo/mispelling in comment.
Revision 1.50 / (download) - annotate - [select for diffs], Thu Nov 24 17:28:45 2005 UTC (6 years, 6 months ago) by rpaulo
Branch: 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
Changes since 1.49: +17 -9
lines
Diff to previous 1.49 (colored)
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) - annotate - [select for diffs], Tue Jul 5 21:23:17 2005 UTC (6 years, 10 months ago) by riz
Branch: 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
Changes since 1.44.4.1: +2 -2
lines
Diff to previous 1.44.4.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)
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) - annotate - [select for diffs], Sat Jul 2 23:29:48 2005 UTC (6 years, 10 months ago) by tron
Branch: 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
Changes since 1.47: +2 -2
lines
Diff to previous 1.47 (colored) next main 1.48 (colored)
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) - annotate - [select for diffs], Tue Jun 28 13:36:40 2005 UTC (6 years, 10 months ago) by symka
Branch: MAIN
Changes since 1.48: +2 -2
lines
Diff to previous 1.48 (colored)
PR/29317: ifconfig.if does not allow parameters with spaces OKeyd by christos@
Revision 1.44.4.1 / (download) - annotate - [select for diffs], Mon May 9 22:42:08 2005 UTC (7 years ago) by riz
Branch: netbsd-2
Changes since 1.44: +4 -2
lines
Diff to previous 1.44 (colored)
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) - annotate - [select for diffs], Tue Apr 26 10:28:29 2005 UTC (7 years, 1 month ago) by cjs
Branch: MAIN
Changes since 1.47: +7 -9
lines
Diff to previous 1.47 (colored)
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) - annotate - [select for diffs], Tue Oct 12 14:51:03 2004 UTC (7 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.46: +4 -2
lines
Diff to previous 1.46 (colored)
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) - annotate - [select for diffs], Mon Oct 11 15:00:51 2004 UTC (7 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.45: +11 -11
lines
Diff to previous 1.45 (colored)
Use new style command substitution.
Revision 1.45 / (download) - annotate - [select for diffs], Fri Aug 13 18:08:03 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.44: +2 -2
lines
Diff to previous 1.44 (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.38.2.2 / (download) - annotate - [select for diffs], Sat Jun 5 04:55:45 2004 UTC (7 years, 11 months ago) by jmc
Branch: netbsd-1-6
Changes since 1.38.2.1: +21 -3
lines
Diff to previous 1.38.2.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)
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) - annotate - [select for diffs], Sun Oct 12 09:50:05 2003 UTC (8 years, 7 months ago) by jdc
Branch: 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
Changes since 1.43: +21 -3
lines
Diff to previous 1.43 (colored)
Allow an IPv6 default route to be set from /etc/mygate6 or $defaultroute6. Approved by itojun@.
Revision 1.43 / (download) - annotate - [select for diffs], Thu Jan 9 15:52:58 2003 UTC (9 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.42: +1 -17
lines
Diff to previous 1.42 (colored)
revert previous; luke and matt want this as a separate script.
Revision 1.42 / (download) - annotate - [select for diffs], Thu Jan 9 15:12:47 2003 UTC (9 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.41: +19 -3
lines
Diff to previous 1.41 (colored)
Add /etc/route.conf processing to add static routes. Removes one more reason for netstart.local.
Revision 1.41 / (download) - annotate - [select for diffs], Tue Jan 7 08:41:55 2003 UTC (9 years, 4 months ago) by tron
Branch: MAIN
Changes since 1.40: +1 -2
lines
Diff to previous 1.40 (colored)
Revert last change for now. It causes hangs during system shutdown when NFS filesystems are mounted.
Revision 1.40 / (download) - annotate - [select for diffs], Mon Jan 6 10:11:14 2003 UTC (9 years, 4 months ago) by tron
Branch: MAIN
Changes since 1.39: +2 -1
lines
Diff to previous 1.39 (colored)
Add keyword "shutdown" so that this script is really executed on system shutdown to delete clone interfaces.
Revision 1.38.2.1 / (download) - annotate - [select for diffs], Wed Oct 23 12:34:40 2002 UTC (9 years, 7 months ago) by lukem
Branch: 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
Changes since 1.38: +15 -13
lines
Diff to previous 1.38 (colored)
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) - annotate - [select for diffs], Sat Oct 5 05:24:40 2002 UTC (9 years, 7 months ago) by tron
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.38: +15 -13
lines
Diff to previous 1.38 (colored)
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) - annotate - [select for diffs], Sat May 4 13:53:02 2002 UTC (10 years ago) by tron
Branch: 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
Changes since 1.37: +11 -1
lines
Diff to previous 1.37 (colored)
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) - annotate - [select for diffs], Mon Apr 29 12:13:14 2002 UTC (10 years ago) by lukem
Branch: MAIN
Changes since 1.36: +1 -15
lines
Diff to previous 1.36 (colored)
don't bother warning or supporting obsolete $ip6forwarding; postinstall now checks for this
Revision 1.36 / (download) - annotate - [select for diffs], Wed Mar 27 07:37:56 2002 UTC (10 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.35: +2 -2
lines
Diff to previous 1.35 (colored)
clean up warning
Revision 1.35 / (download) - annotate - [select for diffs], Sun Mar 24 17:58:21 2002 UTC (10 years, 2 months ago) by sommerfeld
Branch: MAIN
Changes since 1.34: +18 -18
lines
Diff to previous 1.34 (colored)
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) - annotate - [select for diffs], Fri Mar 22 04:33:59 2002 UTC (10 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.33: +2 -1
lines
Diff to previous 1.33 (colored)
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) - annotate - [select for diffs], Sun Jul 22 13:33:59 2001 UTC (10 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.32: +2 -2
lines
Diff to previous 1.32 (colored)
seperate -> separate
Revision 1.32 / (download) - annotate - [select for diffs], Sun Jul 8 07:16:00 2001 UTC (10 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.31: +2 -6
lines
Diff to previous 1.31 (colored)
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) - annotate - [select for diffs], Wed May 2 22:52:22 2001 UTC (11 years ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Changes since 1.11.4.6: +107 -96
lines
Diff to previous 1.11.4.6 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)
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) - annotate - [select for diffs], Tue Mar 20 18:19:27 2001 UTC (11 years, 2 months ago) by he
Branch: netbsd-1-5
Changes since 1.11.4.5: +8 -1
lines
Diff to previous 1.11.4.5 (colored) to branchpoint 1.11 (colored)
Pull up revision 1.15 (requested by bouyer): Add support for cloning network devices (e.g. vlan). Fixes PR#12398.
Revision 1.31 / (download) - annotate - [select for diffs], Fri Mar 2 03:07:29 2001 UTC (11 years, 2 months ago) by itojun
Branch: MAIN
Changes since 1.30: +2 -2
lines
Diff to previous 1.30 (colored)
comment correction: 127/8 must not leave the node (RFC1122)
Revision 1.30 / (download) - annotate - [select for diffs], Sat Jan 13 13:26:36 2001 UTC (11 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.29: +94 -92
lines
Diff to previous 1.29 (colored)
move IPv6 mode/route configuration upwards, so that !rtsol in /etc/ifconfig.* is meaningful.
Revision 1.29 / (download) - annotate - [select for diffs], Thu Jan 11 17:56:16 2001 UTC (11 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.28: +14 -2
lines
Diff to previous 1.28 (colored)
extend /etc/ifconfig.xxN, for comment lines (#) and shell script fragment (!). inspired by openbsd /etc/hostname.xxN.
Revision 1.28 / (download) - annotate - [select for diffs], Wed Jan 3 17:54:05 2001 UTC (11 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.27: +4 -2
lines
Diff to previous 1.27 (colored)
add $ip6sitelocal, to control installation of reject route for fec0::/10.
Revision 1.27 / (download) - annotate - [select for diffs], Sun Nov 26 06:46:42 2000 UTC (11 years, 6 months ago) by nisimura
Branch: MAIN
Changes since 1.26: +2 -2
lines
Diff to previous 1.26 (colored)
More cautious about undefined hostname check in terms of what hostname(1) returns.
Revision 1.26 / (download) - annotate - [select for diffs], Wed Nov 22 04:20:04 2000 UTC (11 years, 6 months ago) by nisimura
Branch: MAIN
Changes since 1.25: +3 -4
lines
Diff to previous 1.25 (colored)
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) - annotate - [select for diffs], Tue Nov 21 16:12:48 2000 UTC (11 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.24: +2 -2
lines
Diff to previous 1.24 (colored)
un-break.
Revision 1.24 / (download) - annotate - [select for diffs], Tue Nov 21 09:59:02 2000 UTC (11 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.23: +2 -2
lines
Diff to previous 1.23 (colored)
minor typo in previous
Revision 1.23 / (download) - annotate - [select for diffs], Tue Nov 21 09:38:06 2000 UTC (11 years, 6 months ago) by nisimura
Branch: MAIN
Changes since 1.22: +3 -3
lines
Diff to previous 1.22 (colored)
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) - annotate - [select for diffs], Tue Nov 21 08:39:50 2000 UTC (11 years, 6 months ago) by nisimura
Branch: MAIN
Changes since 1.21: +5 -5
lines
Diff to previous 1.21 (colored)
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) - annotate - [select for diffs], Fri Nov 17 04:19:06 2000 UTC (11 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.20: +3 -4
lines
Diff to previous 1.20 (colored)
- 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) - annotate - [select for diffs], Mon Oct 9 05:02:14 2000 UTC (11 years, 7 months ago) by nisimura
Branch: MAIN
Changes since 1.19: +16 -22
lines
Diff to previous 1.19 (colored)
- 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) - annotate - [select for diffs], Wed Aug 23 12:27:27 2000 UTC (11 years, 9 months ago) by lukem
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA
Changes since 1.11.4.4: +2 -2
lines
Diff to previous 1.11.4.4 (colored) to branchpoint 1.11 (colored)
pull up rev 1.19: REQUIRE ipfilter and ipsec approved: thorpej
Revision 1.19 / (download) - annotate - [select for diffs], Mon Aug 21 23:35:20 2000 UTC (11 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.18: +2 -2
lines
Diff to previous 1.18 (colored)
REQUIRE ipfilter and ipsec
Revision 1.11.4.4 / (download) - annotate - [select for diffs], Wed Aug 9 19:09:44 2000 UTC (11 years, 9 months ago) by lukem
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-ALPHA2
Changes since 1.11.4.3: +3 -3
lines
Diff to previous 1.11.4.3 (colored) to branchpoint 1.11 (colored)
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) - annotate - [select for diffs], Thu Aug 3 12:07:27 2000 UTC (11 years, 9 months ago) by itojun
Branch: netbsd-1-5
Changes since 1.11.4.2: +14 -8
lines
Diff to previous 1.11.4.2 (colored) to branchpoint 1.11 (colored)
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) - annotate - [select for diffs], Wed Aug 2 13:59:11 2000 UTC (11 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.17: +3 -3
lines
Diff to previous 1.17 (colored)
fix comment on DAD wait
Revision 1.17 / (download) - annotate - [select for diffs], Tue Aug 1 20:49:11 2000 UTC (11 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.16: +14 -8
lines
Diff to previous 1.16 (colored)
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) - annotate - [select for diffs], Tue Jul 25 19:12:20 2000 UTC (11 years, 10 months ago) by jdolecek
Branch: netbsd-1-5
Changes since 1.11.4.1: +3 -1
lines
Diff to previous 1.11.4.1 (colored) to branchpoint 1.11 (colored)
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) - annotate - [select for diffs], Tue Jul 25 18:47:28 2000 UTC (11 years, 10 months ago) by jdolecek
Branch: MAIN
Changes since 1.15: +3 -1
lines
Diff to previous 1.15 (colored)
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) - annotate - [select for diffs], Thu Jul 20 19:43:10 2000 UTC (11 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.14: +8 -1
lines
Diff to previous 1.14 (colored)
Build a list of cloning network interfaces to configure, as well as normal interfaces.
Revision 1.14 / (download) - annotate - [select for diffs], Mon Jul 17 15:25:42 2000 UTC (11 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.13: +2 -2
lines
Diff to previous 1.13 (colored)
reenable stop_cmd now that network doesn't get run at shutdown
Revision 1.11.4.1 / (download) - annotate - [select for diffs], Tue Jun 20 17:53:32 2000 UTC (11 years, 11 months ago) by itojun
Branch: netbsd-1-5
Changes since 1.11: +1 -7
lines
Diff to previous 1.11 (colored)
remove ip6defaultif configuration, which is not for common installation. approved by: releng-1-5
Revision 1.13 / (download) - annotate - [select for diffs], Tue Jun 20 16:48:19 2000 UTC (11 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.12: +1 -7
lines
Diff to previous 1.12 (colored)
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) - annotate - [select for diffs], Tue Jun 20 08:34:33 2000 UTC (11 years, 11 months ago) by enami
Branch: MAIN
Changes since 1.11: +2 -2
lines
Diff to previous 1.11 (colored)
Don't warn that $hostname isn't set if the hostname is already set.
Revision 1.11 / (download) - annotate - [select for diffs], Sat May 13 08:45:07 2000 UTC (12 years ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-5-base,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.10: +2 -2
lines
Diff to previous 1.10 (colored)
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) - annotate - [select for diffs], Tue May 9 10:49:26 2000 UTC (12 years ago) by itojun
Branch: MAIN
Changes since 1.9: +5 -1
lines
Diff to previous 1.9 (colored)
do not let 127.0.0.0/8 leave the node. based on RFC1122.
Revision 1.9 / (download) - annotate - [select for diffs], Sat Apr 29 06:01:08 2000 UTC (12 years ago) by veego
Branch: MAIN
Changes since 1.8: +2 -2
lines
Diff to previous 1.8 (colored)
Fix the last change so it doesn't fail due too a missing '; then'.
Revision 1.8 / (download) - annotate - [select for diffs], Fri Apr 28 00:13:39 2000 UTC (12 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.7: +8 -2
lines
Diff to previous 1.7 (colored)
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) - annotate - [select for diffs], Thu Apr 20 02:12:04 2000 UTC (12 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.6: +1 -7
lines
Diff to previous 1.6 (colored)
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) - annotate - [select for diffs], Tue Apr 11 05:03:24 2000 UTC (12 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.5: +2 -2
lines
Diff to previous 1.5 (colored)
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) - annotate - [select for diffs], Sat Apr 8 23:02:54 2000 UTC (12 years, 1 month ago) by tsarna
Branch: MAIN
Changes since 1.4: +2 -2
lines
Diff to previous 1.4 (colored)
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) - annotate - [select for diffs], Fri Mar 17 17:41:01 2000 UTC (12 years, 2 months ago) by itojun
Branch: MAIN
Changes since 1.3: +35 -6
lines
Diff to previous 1.3 (colored)
correct reject route installations for IPv6. improve comments.
Revision 1.3 / (download) - annotate - [select for diffs], Sun Mar 12 04:21:26 2000 UTC (12 years, 2 months ago) by itojun
Branch: MAIN
Changes since 1.2: +8 -1
lines
Diff to previous 1.2 (colored)
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) - annotate - [select for diffs], Sat Mar 11 20:13:42 2000 UTC (12 years, 2 months ago) by veego
Branch: MAIN
Changes since 1.1: +2 -2
lines
Diff to previous 1.1 (colored)
Fix the network_stop function so it doesn't fails due to missing ]['s.
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri Mar 10 11:53:24 2000 UTC (12 years, 2 months ago) by lukem
Branch: TNF
CVS Tags: rc-d-2000-03-10
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored)
rc.d scripts derived from /etc/rc
Revision 1.1 / (download) - annotate - [select for diffs], Fri Mar 10 11:53:24 2000 UTC (12 years, 2 months ago) by lukem
Branch: MAIN
Initial revision