| #
0a9098d0 |
| 08-Sep-2020 |
martin <martin@NetBSD.org> |
Rename MOUNTCRITLOCAL to CRITLOCALMOUNTED to avoid a name collision on case insensitive file systems
|
| #
31fc9817 |
| 22-Jul-2020 |
martin <martin@NetBSD.org> |
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 # BEF
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.
show more ...
|
| #
b5a7b1ab |
| 27-Jan-2020 |
kim <kim@NetBSD.org> |
Skip inet6 addresses that begin with fe80: (not just exact match).
|
| #
f062baa4 |
| 13-Aug-2018 |
christos <christos@NetBSD.org> |
handle v6 addresses
|
| #
90ff2f0a |
| 19-Oct-2016 |
christos <christos@NetBSD.org> |
Adjust for new ifconfig address/mask output.
|
| #
8f0c3894 |
| 12-Sep-2013 |
christos <christos@NetBSD.org> |
wait until our local address is available before configuring.
|
| #
aa389673 |
| 14-Jun-2013 |
christos <christos@NetBSD.org> |
if ipsec_flags is given, treat it as an interface name and change @LOCAL_ADDR@ to the IP address for it. This makes dynamic addresses work during autoconf. Also while here in restart, re-use start an
if ipsec_flags is given, treat it as an interface name and change @LOCAL_ADDR@ to the IP address for it. This makes dynamic addresses work during autoconf. Also while here in restart, re-use start and stop instead of duplicating them.
show more ...
|
| #
3381903e |
| 22-Nov-2008 |
tsutsui <tsutsui@NetBSD.org> |
Add "bootconf" to REQUIRE: lines which had beforenetlkm since removed beforenetlkm required bootconf.
|
| #
0efea177 |
| 12-Nov-2008 |
ad <ad@NetBSD.org> |
Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
|
| #
31edfc6f |
| 06-Apr-2007 |
apb <apb@NetBSD.org> |
* Add a stop_boot() function in rc.subr, to terminate a multi-user boot by killing the parent process. The parent's PID is saved in $RC_PID. * In all rc.d/* scripts that previously tried to stop t
* Add a stop_boot() function in rc.subr, to terminate a multi-user boot by killing the parent process. The parent's PID is saved in $RC_PID. * In all rc.d/* scripts that previously tried to stop the boot, replace in-line code with "stop_boot". * Document this.
This should fix PR 29822.
show more ...
|
| #
7d2e1537 |
| 13-Aug-2004 |
mycroft <mycroft@NetBSD.org> |
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
|
| #
96776149 |
| 22-Mar-2002 |
thorpej <thorpej@NetBSD.org> |
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 REQUI
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.
show more ...
|
| #
bd11504c |
| 19-Sep-2000 |
lukem <lukem@NetBSD.org> |
- 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 ch
- 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
show more ...
|
| #
1a297462 |
| 21-Jul-2000 |
lukem <lukem@NetBSD.org> |
- fix typo; the first ipsec_start() should be ipsec_prestart() - if ipsec.conf isn't readable and the system is booting directly to multiuser, send SIGTERM to the parent (/etc/rc) so that init(8) a
- fix typo; the first ipsec_start() should be ipsec_prestart() - if ipsec.conf isn't readable and the system is booting directly to multiuser, send SIGTERM to the parent (/etc/rc) so that init(8) aborts the boot.
show more ...
|
| #
97d13d02 |
| 17-Jul-2000 |
lukem <lukem@NetBSD.org> |
* remove bogus comment about aborting the boot if ipsec.conf doesn't exist; this hasn't really worked and is probably too messy to resolve...
|
| #
c45b4229 |
| 14-Jun-2000 |
itojun <itojun@NetBSD.org> |
typo
|
| #
60cd90f1 |
| 13-Jun-2000 |
itojun <itojun@NetBSD.org> |
TODO; should check /etc/ipsec.conf owner/permission, while we don't have find(1).
|
| #
00ded2c6 |
| 13-Jun-2000 |
itojun <itojun@NetBSD.org> |
add rc.d/ipsec for ipsec configuration. when enabled, it will inject /etc/ipsec.conf into "setkey -f". PR 9609.
|