Up to [cvs.NetBSD.org] / src / etc / rc.d
Request diff between arbitrary revisions
Default branch: MAIN
Revision 18.104.22.168 / (download) - annotate - [select for diffs], Mon May 9 22:42:10 2005 UTC (13 years ago) by riz
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.10: +2 -1 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)
Pull up revision 1.13 (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.13 / (download) - annotate - [select for diffs], Tue Oct 12 14:51:03 2004 UTC (13 years, 7 months ago) by lukem
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, 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, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, 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, 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, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, 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, netbsd-5-base, 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, 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, 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-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, 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, localcount-20160914, khorben-n900, 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-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, abandoned-netbsd-4-base, abandoned-netbsd-4, HEAD
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Mon Oct 11 15:00:51 2004 UTC (13 years, 7 months ago) by christos
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)
Use new style command substitution.
Revision 1.11 / (download) - annotate - [select for diffs], Fri Aug 13 18:08:03 2004 UTC (13 years, 9 months ago) by mycroft
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (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 22.214.171.124 / (download) - annotate - [select for diffs], Wed Aug 27 10:56:26 2003 UTC (14 years, 9 months ago) by tron
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
Changes since 126.96.36.199: +2 -2 lines
Diff to previous 188.8.131.52 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)
Pull up revision 1.10 (requested by martti in ticket #1442): ipnat needs to be before SERVERS - one may need NAT for servers to work (eg, ntpdate).
Revision 1.10 / (download) - annotate - [select for diffs], Fri Aug 22 08:43:26 2003 UTC (14 years, 9 months ago) by mrg
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.9: +2 -2 lines
Diff to previous 1.9 (colored)
ipnat needs to be before SERVERS - one may need NAT for servers to work (eg, ntpdate).
Revision 184.108.40.206 / (download) - annotate - [select for diffs], Thu Jun 19 20:35:36 2003 UTC (14 years, 11 months ago) by msaitoh
Changes since 220.127.116.11: +3 -2 lines
Diff to previous 18.104.22.168 (colored) to branchpoint 1.7 (colored)
Pull up revision 1.9 (requested by grant in ticket #1321): Change behaviour of 'reload' to only reload the NAT rules and NOT flush the state table, making it much more useful.
Revision 1.9 / (download) - annotate - [select for diffs], Sun Feb 16 22:18:46 2003 UTC (15 years, 3 months ago) by grant
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)
change behaviour of 'reload' to only reload the NAT rules and NOT flush the state table, making it much more useful. The behaviour of 'restart' is unchanged (flush state table and reload rules), but is now done slightly more elegantly. ok'd by lukem.
Revision 22.214.171.124 / (download) - annotate - [select for diffs], Thu Oct 24 09:34:47 2002 UTC (15 years, 7 months ago) by lukem
CVS Tags: 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.7: +5 -1 lines
Diff to previous 1.7 (colored)
Pull up upgrade to IPfilter 3.4.29 (requested by martti in ticket #905). Affected files & revisions: dist/ipf/HISTORY 1.14 dist/ipf/fils.c 1.17-1.21 dist/ipf/ipf.c 1.11-1.13 dist/ipf/ipfs.c 1.8-1.10 dist/ipf/ipft_ef.c 1.6-1.7 dist/ipf/ipft_td.c 1.6-1.7 dist/ipf/ipft_tx.c 1.7-1.8 dist/ipf/ipmon.c 1.12-1.17 dist/ipf/ipnat.c 1.11-1.12 dist/ipf/ipsend/ip_var.h 1.2 dist/ipf/ipsend/ipsend.c 1.8 dist/ipf/ipsend/iptests.c 1.5 dist/ipf/ipt.c 1.8-1.10 dist/ipf/kmem.c 1.8-1.10 dist/ipf/man/ipf.4 1.10 dist/ipf/man/ipf.5 1.8 dist/ipf/man/ipftest.1 1.3 dist/ipf/man/ipmon.8 1.10 dist/ipf/man/ipnat.5 1.9-1.10 dist/ipf/man/ipnat.8 1.4 dist/ipf/misc.c 1.7 dist/ipf/natparse.c 1.10 dist/ipf/parse.c 1.13 dist/ipf/printnat.c 1.8-1.10 dist/ipf/relay.c 1.5-1.6 dist/ipf/rules/example.9 1.2 etc/rc.d/ipnat 1.8 regress/sys/kern/ipf/Makefile 1.3-1.4 regress/sys/kern/ipf/dotest6 1.2 regress/sys/kern/ipf/expected/f13 126.96.36.199 regress/sys/kern/ipf/expected/i12 188.8.131.52 regress/sys/kern/ipf/expected/ni3 184.108.40.206 regress/sys/kern/ipf/expected/ni5 1.2 regress/sys/kern/ipf/input/f13 220.127.116.11 regress/sys/kern/ipf/input/ipv6.1 18.104.22.168 regress/sys/kern/ipf/input/ni3 22.214.171.124 regress/sys/kern/ipf/regress/i12 126.96.36.199 regress/sys/kern/ipf/regress/ipv6.1 188.8.131.52 regress/sys/kern/ipf/regress/ni3.ipf 184.108.40.206 regress/sys/kern/ipf/regress/ni3.nat 220.127.116.11 sys/arch/alpha/conf/ALPHA 1.169,1.171 sys/arch/amiga/conf/GENERIC 1.185-1.186 sys/arch/arc/conf/GENERIC 1.71-1.72 sys/arch/atari/conf/GENERIC.in 1.24-1.25 sys/arch/cats/conf/GENERIC 1.31-1.32 sys/arch/cobalt/conf/GENERIC 1.34-1.35 sys/arch/hp300/conf/GENERIC 1.83-1.84 sys/arch/i386/conf/CARDBUS 1.66-1.67 sys/arch/i386/conf/GENERIC 1.510,1.512 sys/arch/i386/conf/GENERIC_LAPTOP 1.58-1.59 sys/arch/i386/conf/GENERIC_PS2TINY 1.19-1.20 sys/arch/i386/conf/GENERIC_TINY 1.47-1.48 sys/arch/luna68k/conf/GENERIC 1.33-1.33 sys/arch/mac68k/conf/GENERIC 1.130-1.131 sys/arch/mac68k/conf/GENERICSBC 1.21-1.22 sys/arch/mac68k/conf/SMALLRAM 1.4-1.5 sys/arch/macppc/conf/GENERIC 1.142-1.143 sys/arch/mipsco/conf/GENERIC 1.21-1.22 sys/arch/mmeye/conf/GENERIC 1.44-1.45 sys/arch/news68k/conf/GENERIC 1.36-1.37 sys/arch/news68k/conf/GENERIC_TINY 1.18-1.19 sys/arch/newsmips/conf/GENERIC 1.50-1.51 sys/arch/ofppc/conf/GENERIC 1.56-1.57 sys/arch/pmax/conf/GENERIC 1.103-1.104 sys/arch/prep/conf/GENERIC 1.55-1.56 sys/arch/sbmips/conf/GENERIC 1.11-1.12 sys/arch/sgimips/conf/GENERIC 1.7-1.8 sys/arch/sparc/conf/GENERIC 1.138-1.139 sys/arch/sparc64/conf/GENERIC32 1.46-1.47 sys/arch/vax/conf/GENERIC 1.102-1.103 sys/arch/x68k/conf/ALL 1.55-1.56 sys/arch/x68k/conf/GENERIC 1.80-1.81 sys/lkm/netinet/if_ipl/mln_ipl.c 1.29 sys/netinet/fil.c 1.57-1.58 sys/netinet/ip_auth.c 1.29-1.30 sys/netinet/ip_compat.h 1.30-1.31 sys/netinet/ip_fil.c 1.81-1.86 sys/netinet/ip_fil.h 1.46-1.49 sys/netinet/ip_frag.c 1.33-1.34 sys/netinet/ip_frag.h 1.18 sys/netinet/ip_ftp_pxy.c 1.25-1.26 sys/netinet/ip_h323_pxy.c 1.5-1.6 sys/netinet/ip_log.c 1.22-1.23 sys/netinet/ip_nat.c 1.51-1.53 sys/netinet/ip_nat.h 1.27 sys/netinet/ip_netbios_pxy.c 1.4 sys/netinet/ip_proxy.c 1.35-1.36 sys/netinet/ip_proxy.h 1.18 sys/netinet/ip_state.c 1.41-1.42 sys/netinet/ip_state.h 1.23 sys/netinet/ipl.h 1.14
Revision 1.8 / (download) - annotate - [select for diffs], Tue Sep 24 11:03:53 2002 UTC (15 years, 8 months ago) by martti
CVS Tags: fvdl_fs64_base
Changes since 1.7: +5 -1 lines
Diff to previous 1.7 (colored)
Print a warning message if IP forwarding is not activated (PR#10295).
Revision 1.7 / (download) - annotate - [select for diffs], Fri Mar 22 04:33:58 2002 UTC (16 years, 2 months ago) by thorpej
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.6: +2 -1 lines
Diff to previous 1.6 (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 18.104.22.168 / (download) - annotate - [select for diffs], Mon Oct 2 01:09:50 2000 UTC (17 years, 7 months ago) by lukem
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 22.214.171.124: +2 -8 lines
Diff to previous 126.96.36.199 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)
pull up rev 1.6 (approved by thorpej): - always use $rcvar to determine the name of the var to checkyesno - fix force*
Revision 1.6 / (download) - annotate - [select for diffs], Tue Sep 19 13:04:38 2000 UTC (17 years, 8 months ago) by lukem
Changes since 1.5: +2 -8 lines
Diff to previous 1.5 (colored)
- only perform the checkyesno on the variable named in $rcvar (rather than implicitly using $name if $rcvar isn't set), and always perform this check, even when using start_cmd (et al). this check is performed before the pidcmd is run, speeding up scripts that weren't going to be run anyway. this should speed up booting slow systems. - take advantage of the above and remove start_precmd="checkyesno foo" in scripts that use start_cmd. - explicitly set rcvar=foo in the rc.d/foo scripts which have an equivalent rc.conf entry - fix `rcvar' and `restart' when $rcvar isn't set. these above changes fix PR [bin/11027]. - when doing `force*', ignore the return value of *_precmd. this fixes PR [bin/10781]. - rename what sysdb provides from `databases' to `sysdb', to reflect the name of the script. - improve the comments in rc.subr
Revision 188.8.131.52 / (download) - annotate - [select for diffs], Wed Aug 23 12:13:14 2000 UTC (17 years, 9 months ago) by lukem
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)
pull up rev 1.5: needs to run after mountcritremote, since ipnat is in /usr/sbin approved: thorpej
Revision 1.5 / (download) - annotate - [select for diffs], Mon Aug 21 23:33:50 2000 UTC (17 years, 9 months ago) by lukem
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)
needs to run after mountcritremote, since ipnat is in /usr/sbin
Revision 1.4 / (download) - annotate - [select for diffs], Sat May 13 08:45:07 2000 UTC (18 years ago) by lukem
CVS Tags: netbsd-1-5-base, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (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.3 / (download) - annotate - [select for diffs], Sun Apr 30 13:23:33 2000 UTC (18 years ago) by lukem
Changes since 1.2: +4 -2 lines
Diff to previous 1.2 (colored)
use extra_commands= instead of using 2nd argument to run_rc_command
Revision 1.2 / (download) - annotate - [select for diffs], Sun Mar 12 03:49:36 2000 UTC (18 years, 2 months ago) by thorpej
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)
Rearrange so the ouput of this is a bit more cosmetic.
Revision 184.108.40.206 / (download) - annotate - [select for diffs] (vendor branch), Fri Mar 10 11:53:25 2000 UTC (18 years, 2 months ago) by lukem
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:25 2000 UTC (18 years, 2 months ago) by lukem
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.