|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base
|
| #
1.26 |
|
25-Dec-2023 |
kre |
Stop using the obsolete test(1) -o operator, use sh || instead. Prefer sh ! over test's ! (though that one is not completely obsolete).
|
|
Revision tags: netbsd-10-1-RELEASE netbsd-8-3-RELEASE netbsd-9-4-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-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
| #
1.25 |
|
23-Apr-2016 |
dholland |
Avoid unnecessary use of basename(1). From Jukka Salmi a long, long time ago on a tech-kern far, far away.
|
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base
|
| #
1.24 |
|
03-Jun-2012 |
joerg |
Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to depend on new devname_r(3) as heart. Add /dev/pts magic directly to devname(3). While it can lead to returning non-existing paths, the behavior is more consistent that way. Drop caching layer in devname(3), it doesn't buy anything for the common case of having access to the database. Teach devname(3) proper fallback behavior of scanning /dev. Create both old-style and new-style database for now in /etc/rc.d/sysdb.
|
|
Revision tags: yamt-pagecache-base5 yamt-pagecache-base4
|
| #
1.23 |
|
21-Feb-2012 |
nakayama |
Avoid rebuilding services database every boot time. The database has been renamed since the default was changed to CDB format.
|
|
Revision tags: netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
| #
1.22 |
|
02-Sep-2011 |
mbalmer |
branches: 1.22.2; 1.22.4; Terminate line with a '.', not the word 'done', for consistency with other startup scripts.
|
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-premerge-20091211
|
| #
1.21 |
|
18-Jun-2009 |
christos |
now that pwd_mkdb does not change the version, warn if we still have version 0 databases.
|
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 mjf-devfs2-base2 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base mjf-devfs-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base hpcarm-cleanup-base
|
| #
1.20 |
|
26-Aug-2007 |
dyoung |
Let an rc variable, sysdb=YES|NO, control the building of the system databases. Defaults to YES.
|
|
Revision tags: matt-mips64-base
|
| #
1.19 |
|
16-May-2007 |
christos |
check if the source exists, not that it is a file. Reported by Blair Sadewitz
|
| #
1.18 |
|
13-May-2007 |
christos |
don't attempt to build the db file if the src file does not exist.
|
| #
1.17 |
|
10-May-2007 |
christos |
Move .db files for services and netgroup to /var/db per gimpy's request.
|
| #
1.16 |
|
08-May-2007 |
christos |
- don't trash utmp{,x} needlessly - also support netgroup services and password - pretty print
|
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 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-3-1-1-RELEASE netbsd-3-0-3-RELEASE wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-4-base netbsd-3-0-1-RELEASE 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-base
|
| #
1.15 |
|
12-Oct-2004 |
lukem |
Fix for /bin/ksh, from Jukka Salmi in PR 27232.
|
| #
1.14 |
|
13-Aug-2004 |
mycroft |
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 tags: netbsd-2-0-3-RELEASE netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
|
| #
1.13 |
|
11-May-2003 |
ragge |
branches: 1.13.4; Remove kvm_mkdb, it's not used anymore.
|
| #
1.12 |
|
24-Feb-2003 |
atatat |
Execute the actual command as it's set instead of calling the sh routine directly. This allows one to to override a specific command via the use of /etc/rc.conf.d/sysdb.
|
|
Revision tags: fvdl_fs64_base
|
| #
1.11 |
|
08-Oct-2002 |
atatat |
Reorganize the sysdb script so that lkm{1,2,3} can request that the dev database be rebuilt after loading modules. Loading modules might create new nodes in /dev, but the dev database is being initialized too soon for lkm2 and lkm3. This means that, eg, /dev/xf86 (typically marked AFTERMOUNT and loaded by lkm2) will show up properly. Reviewed by lukem.
|
| #
1.10 |
|
16-Sep-2002 |
perry |
create a utmpx with the same permissions as utmp Solves pr 18282, although very differently.
|
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
| #
1.9 |
|
22-Mar-2002 |
thorpej |
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.
|
| #
1.8 |
|
16-Apr-2001 |
lukem |
wrap kvm_mkdb arg in "s. from adam laurie in pr 12664
|
| #
1.7 |
|
14-Oct-2000 |
nisimura |
Add missing -n option of sysctl(8) booted_kernel name retrival.
|
| #
1.6 |
|
09-Oct-2000 |
nisimura |
- 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.
|
| #
1.5 |
|
19-Sep-2000 |
lukem |
- 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
|
| #
1.4 |
|
27-Jul-2000 |
lukem |
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.
|
| #
1.3 |
|
26-Jul-2000 |
lukem |
* 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
Notes: * dhclient (and others) needs /var to be a $critical_filesystem_beforenet * dhclient now starts before syslogd (because the latter needs /usr, and /usr might need dhclient to be mounted)
Should fix PRs: [install/9853] [bin/10002] [misc/10349] [port-i386/10633] [misc/10641]
|
|
Revision tags: netbsd-1-5-base minoura-xpg4dl-base
|
| #
1.2 |
|
13-May-2000 |
lukem |
branches: 1.2.4; 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.
|
| #
1.1 |
|
10-Mar-2000 |
lukem |
branches: 1.1.1; Initial revision
|