|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base 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 cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
| #
1.32 |
|
10-Jan-2021 |
riastradh |
rc.subr(8): Fix markup -- use .It to set off a new item.
|
|
Revision tags: netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE 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 netbsd-7-2-RELEASE 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 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE 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 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-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 tls-maxphys-base
|
| #
1.31 |
|
18-Dec-2012 |
wiz |
Bump date for previous and remove trailing whitespace.
|
| #
1.30 |
|
17-Dec-2012 |
apb |
Add shell implementations of basename and dirname to rc.subr. They are supposed to mimic basename(1) and dirname(1), except that they are usable before /usr/bin is mounted.
|
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
| #
1.29 |
|
11-Aug-2011 |
apb |
branches: 1.29.2; 1.29.8; Allow "echo -n" to work as expected in rc.d scripts that are executed by /etc/rc. Similarly for printf with a format that does not end with "\n". Previously, the partial line would not be visible on the console until a newline was printed, possibly after an annoying delay.
This is done by adding echo() and printf() shell functions to rc.subr, so that naive use of the echo and printf commands in rc.d scripts will call these functions instead of the underlying commands. These shell functions send a new "nop" metadata message after the partial line, and the rc_postprocess function in /etc/rc disentangles the partial line of plain output from the metadata "nop".
Also add a "-n" option to the print_rc_normal function in rc.subr, and make some cosmetic changes.
|
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
| #
1.28 |
|
26-Sep-2010 |
apb |
Bump date for previous
|
| #
1.27 |
|
26-Sep-2010 |
apb |
Add a collapse_backslash_newline function to rc.subr.
|
| #
1.26 |
|
15-Mar-2010 |
jmmv |
Document that run_rc_command can take extra parameters and will pass those to the command being executed.
|
|
Revision tags: matt-premerge-20091211
|
| #
1.25 |
|
05-Oct-2009 |
apb |
Typo in macro name (.Is -> .Ic), noticed by joerg@
|
| #
1.24 |
|
11-Sep-2009 |
wiz |
Bump date for previous. Whitespace nit. Use Nm instead of Xr to itself.
|
| #
1.23 |
|
11-Sep-2009 |
apb |
Add a postprocessor to /etc/rc, which logs messages to /var/run/rc.log, and which can suppress output in silent mode. Silent mode is enabled via the new rc_silent variable, which defaults to a value that depends on the kern.boothowto sysctl.
Part of the /etc/rc silent changes requested in PR 41946 and proposed in tech-userlevel.
|
|
Revision tags: jym-xensuspend-nbase jym-xensuspend-base
|
| #
1.22 |
|
09-Apr-2009 |
joerg |
Don't use .Xo/.Xc to workaround argument limit in ancient groff.
|
|
Revision tags: 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 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 netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base mjf-devfs2-base
|
| #
1.21 |
|
25-May-2008 |
wiz |
branches: 1.21.2; 1.21.4; Bump date for previous.
|
| #
1.20 |
|
24-May-2008 |
he |
Document the new ${name}_env feature: list of new or modified environment variables to set when starting ${command}.
|
|
Revision tags: hpcarm-cleanup-nbase yamt-pf42-base2
|
| #
1.19 |
|
30-Apr-2008 |
martin |
branches: 1.19.2; Convert TNF licenses to new 2 clause variant
|
|
Revision tags: yamt-pf42-baseX yamt-pf42-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase matt-armv6-base hpcarm-cleanup-base
|
| #
1.18 |
|
31-Dec-2007 |
ad |
branches: 1.18.4; 1.18.6; Remove systrace. Ok core@.
|
|
Revision tags: matt-armv6-prevmlocking cube-autoconf-base matt-mips64-base
|
| #
1.17 |
|
06-Apr-2007 |
apb |
branches: 1.17.4; * 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.
|
|
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 chap-midi-nbase netbsd-3-0-1-RELEASE chap-midi-base 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.16 |
|
12-Oct-2004 |
lukem |
* Implement load_rc_config_var cmd var to load the rc.conf(5) configuration for cmd and set var in the current shell, using 'load_rc_config var' in a sub-shell to avoid unwanted side-effects.
* Improve required_vars warning message.
|
| #
1.15 |
|
29-Apr-2004 |
gendalia |
Flasg -> Flags
|
| #
1.14 |
|
02-Apr-2004 |
wiz |
Simplify sentence.
|
| #
1.13 |
|
02-Apr-2004 |
jmmv |
Introduce and use the rcvar_manpage variable, which contains the manual page name where the user should look at for documentation about rcvar. It defaults to 'rc.subr(5)', as rc.subr is mainly used by rc.d scripts.
This variable is useful to let the daily, weekly, monthly and security scripts tune the warning message shown when any of the variables they handle is not properly set.
Closes PR misc/23908.
|
|
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.12 |
|
06-Jan-2004 |
lukem |
branches: 1.12.4; Implement ``one'' prefix to allow a "one shot" operation as if ${rcvar}=yes yet all the other prerequisite tests are still performed. The existing ``force'' prefix is a sledgehammer that ignores all the prerequisite checks and always returns a zero exit status; this is a more gentle approach to the problem of "manipulate this disabled service without editing rc.conf(5)".
|
| #
1.11 |
|
06-May-2003 |
jmmv |
Drop trailing whitespace. Reviewed by wiz.
|
| #
1.10 |
|
06-Jan-2003 |
wiz |
successful with only one l.
|
|
Revision tags: fvdl_fs64_base
|
| #
1.9 |
|
08-Jul-2002 |
atatat |
Add systrace(1) support to rc.subr. Most services (eg, ${name} is inetd) started from rc can now be run under systrace by setting ${name}_systrace to a set of flags to be passed to systrace. Note that policies need to generated before you do this.
|
|
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.8 |
|
18-Apr-2002 |
lukem |
minor improvements, including consistency in how variables are formatted.
|
| #
1.7 |
|
27-Mar-2002 |
lukem |
Replace $critical_filesystems_beforenet with $critical_filesystems_local . Replace $critical_filesystems with $critical_filesystems_remote .
The new names are now consistent with the type argument that mount_critical_filesystems() is called with, and allows for other types to be easily supported by that function.
For backwards compatibility purposes, if the now obsolete variable is defined (even empty), it takes precedence over the new form, and you will be warned. If you want to stop the warnings, update your rc.conf(5) settings!
|
| #
1.6 |
|
24-Mar-2002 |
lukem |
- document optional "interpreter" argument to check_pidfile() and check_process() - document rc_* variables available in method and after run_rc_command() completes
|
| #
1.5 |
|
21-Mar-2002 |
lukem |
document $command_interpreter
|
| #
1.4 |
|
13-Mar-2002 |
lukem |
document ${_arg}_postcmd
|
| #
1.3 |
|
25-Feb-2002 |
wiz |
Punctuation nits.
|
| #
1.2 |
|
25-Feb-2002 |
lukem |
Fixes derived from [bin/15563] submitted by Ron Roskens: - Don't su(1) to ${name}_user if running as that user. - Support $procname as the name of the process to search for. Defaults to the value of $command.
|
| #
1.1 |
|
25-Feb-2002 |
lukem |
rc.subr(8) - functions used by system shell scripts. Closes PR [misc/10828].
|