summaryrefslogtreecommitdiffstats
path: root/share/man/man8/rc.subr.8
Commit message (Collapse)AuthorAgeFilesLines
* Clean up rc.subr man page after removing leftover NetBSD compat. Alsoemaste2010-01-281-38/+2
| | | | | | switch to 2-clause license per NetBSD rc.subr.8 r1.19. Submitted by: Alex Kozlov
* Properly underline force_depend's parameter.lme2008-07-201-1/+1
| | | | Reviewed by: brueffer
* Fix punctiation.skv2008-03-311-1/+1
| | | | Approved by: ru
* o Add a note that checkyesno takes a variable by its name, not value.yar2007-10-261-12/+14
| | | | o Improve mdoc(7) markup and style of the paragraph on stop_boot.
* o Implement the stop_boot subroutine [1]. This subroutine can be used bymtm2007-05-181-1/+18
| | | | | | | | | | | | | | | | | scripts in rc.d to stop rc(8) from booting into multi-user mode when a critical or severe error condition is encountered. o Modify scripts in etc/rc.d that already implemented this functionality independently. o Document it. [1] - This subroutine was implemented in FreeBSD in rc.d/fsck. I moved it to rc.subr(8). Our version differs slightly in that it takes an optional argument to stop the boot even if "autoboot" is not set. Obtained from: NetBSD MFC after: 2 weeks
* MFp4:yar2006-12-271-4/+32
| | | | | | | | Document my recent changes to rc.subr(8): - there is $required_modules now; - $required_* are checked before invoking a custom start method, too. MFC after: 1 month
* Backout this commit since it breaks startup and some scripts inflz2006-08-221-30/+4
| | | | | | | | | | | | | | | | | certain conditions. I haven't been able to find a better solution yet: - Set a two read-only variables (${prefix} and ${etcdir}). This is especially useful when using /etc/rc.d scripts with third-party software installed from ports. - Fix rc.d/sshd to work with openssh from ports using ${etcdir} instead of hardcoded /etc. - Reflect prefix/etcdir changes in rc.subr.8. src/etc/rc.d/sshd: rev 1.9 -> 1.10 src/etc/rc.subr: rev 1.51 -> 1.52 src/share/man/man8/rc.subr.8: rev 1.11 -> 1.12 Approved by: cperciva (mentor)
* Improve mark-up: References to "start" as an rc.d methodyar2006-07-241-3/+9
| | | | | | should be tagged with ".Cm". (Refs to "stop" are OK already.) MFC after: 3 days
* Don't forget to touch Dd.yar2006-06-211-1/+1
|
* Quite a number of rc.d scripts try to load kernel modules. Manyyar2006-06-211-0/+16
| | | | | | | | | | of them do that conditionally depending on kldstat. The code is duplicated all over, but bugs can be uniqie. To make the things more consistent, introduce a new rc.subr function, load_kld, which takes care of loading a kernel module conditionally. (Found this lying for a while in my p4 branch for various hacks.)
* Reflect latest changes in rc.subr wrt prefix/etcdir variables being setflz2006-06-071-11/+37
| | | | | | | | automatically by load_rc_config. With help from: ru (mdoc-fu) Reviewed by: brueffer Approved by: cperciva
* - Sync rc.subr with NetBSD.flz2006-04-041-1/+14
| | | | | | | | | - Merge some documentation bits. Reviewed by: brooks, simon (doc) Approved by: cperciva (mentor) Obtained from: NetBSD MFC after: 3 days
* Forgot to bump .Dd in the last commit.yar2006-02-221-1/+1
|
* Document the relation between $command and $foo_program.yar2006-02-221-0/+15
| | | | | PR: docs/68453 MFC after: 3 days
* Use consistent punctuation and vertical indenting around .Dl's.yar2005-10-261-8/+10
| | | | Wrap a too long line.
* Document that `reload' is not provided by defaultyar2005-10-261-1/+11
| | | | yet it can be enabled when applicable.
* Fixed markup.ru2004-07-091-199/+216
|
* Mechanically kill hard sentence breaks and double whitespaces.ru2004-07-031-7/+14
|
* NetBSD rev. 1.10mtm2004-02-271-16/+51
| | | | | | | | | | | | | | successful [is spelled] with only one l NetBSD rev. 1.12 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)". Obtained From: NetBSD
* FreeBSD has no systrace(1), and our rc.subr does not support it.dougb2003-04-221-12/+0
| | | | Submitted by: Simon L. Nielsen <simon@nitro.dk>
* english(4) police.schweikh2002-12-271-7/+7
|
* Update rc(8) manpage to reflect rc.dgordon2002-11-211-0/+770
Add an rc.subr(8) manpage Hook rc.subr.8 up to the build. Submitted by: Mike Makonnen <mtm@identd.net> Approved by: re@ (bmah) Obtained from: NetBSD
OpenPOWER on IntegriCloud