Commit Graph

225 Commits

Author SHA1 Message Date
wxs
81d420ebe4 Document NANO_ARCH which is no longer hard coded as of r205980.
Approved by:	imp@
2010-05-20 18:39:33 +00:00
uqs
3960614646 mdoc: order prologue macros consistently by Dd/Dt/Os
Although groff_mdoc(7) gives another impression, this is the ordering
most widely used and also required by mdocml/mandoc.

Reviewed by:	ru
Approved by:	philip, ed (mentors)
2010-04-14 19:08:06 +00:00
emaste
cf9c897ddd Clean up rc.subr man page after removing leftover NetBSD compat. Also
switch to 2-clause license per NetBSD rc.subr.8 r1.19.

Submitted by:	Alex Kozlov
2010-01-28 01:47:31 +00:00
delphij
fae81b7f57 rc.early(8) was removed as of 20090530 so remove manual page reference
to it.

MFC after:	1 week
2009-11-18 00:56:05 +00:00
brian
804f2f79ee Support shadow.byname and shadow.byuid maps, protecting them by
insisting on privileged port access.

Include /var/yp/Makefile.local if it exists and suggest using
it to override /var/yp/Makefile behaviour.

Approved by:	re (kib)
MFC after:	3 weeks
2009-06-25 16:15:39 +00:00
luigi
e5cea65960 update the manpage to track existing options (including --iso),
and alphabetize them.

MFC after:	3 days
2009-06-25 09:28:04 +00:00
sam
df0983cb20 (finally) document -n 2009-03-16 15:54:21 +00:00
rwatson
ec2ea05f80 Don't suggest mounting procfs in diskless configurations.
MFC after:	3 days
2009-03-13 23:42:34 +00:00
gabor
6d59656f4c - Rename adding_user(8) to adding_user(7). There's no adding_user utility,
but the man page describes conceptual information about the process of
  adding a user, thus it should belong to section 7.
- Remove HISTORY and BUGS sections because of the aforementioned reason.

PR:		docs/130151
Submitted by:	Marian Cerny <jojo@matfyz.cz>
MFC after:	3 days
2009-01-30 15:14:58 +00:00
lme
55d8a68c02 Properly underline force_depend's parameter.
Reviewed by:	brueffer
2008-07-20 10:06:14 +00:00
skv
206a6eb6a9 Fix punctiation.
Approved by:	ru
2008-03-31 14:11:37 +00:00
yar
ab55394041 o Add a note that checkyesno takes a variable by its name, not value.
o Improve mdoc(7) markup and style of the paragraph on stop_boot.
2007-10-26 09:38:54 +00:00
delphij
90cc29c58c Stop mentioning /usr/X11R6.
Approved by:	re (hrs)
2007-07-24 06:41:07 +00:00
ru
85d6f8f56c Fix markup. 2007-05-21 15:29:42 +00:00
mtm
6d5baaa091 o Implement the stop_boot subroutine [1]. This subroutine can be used by
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
2007-05-18 12:04:41 +00:00
adrian
ced7bf5a9f NanoBSD modifications:
* Break out the boot0 loader selection into a variable - NANO_BOOTLOADER -
  so people like me with VGA consoles can override the default (which is
  to use boot0sio)
* Put the boot0 configuration options in NANO_BOOT0CFG in case you want
  to override the defaults.
* Modify nanobsd.8 to reflect the changes and hint the console default is
  serial.

MFC after:	2 weeks
2007-04-20 07:21:09 +00:00
yar
5ec2f453ec MFp4:
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
2006-12-27 13:22:41 +00:00
rodrigc
9787e667ef Remove reference to mount_devfs(8).
Reminded by:	ru
2006-11-22 11:45:06 +00:00
danger
a2d9936684 - capitalize the first letter of the first word in the sentence
Approved by: trhodes (mentor), keramida (mentor)
2006-11-05 20:08:58 +00:00
ru
ebcbf2084a Make it clear that section 8 also documents system management
procedures, not necessarily commands.

PR:		docs/35011
Obtained from:	NetBSD (partly)
2006-10-21 20:35:49 +00:00
ru
5b7cf06c1d Markup fixes. 2006-09-18 15:24:20 +00:00
danger
2228e9607e Remove redundant vnconfig(8) from SEE ALSO section as it is linked to
mdconfig(8) on RELENG_[56] and HEAD, which is referenced too.

Approved by: keramida (mentor), trhodes (mentor)
MFC after: 1 week
2006-09-01 08:30:03 +00:00
danger
978dd12712 Add nanobsd(8) manual page.
Reviewed by: ru
Approved by: trhodes (mentor), keramida (mentor)
MFC after: 1 week
2006-08-29 09:12:48 +00:00
flz
54b7b1d84e Backout this commit since it breaks startup and some scripts in
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)
2006-08-22 11:17:29 +00:00
yar
0608345395 Improve mark-up: References to "start" as an rc.d method
should be tagged with ".Cm".  (Refs to "stop" are OK already.)

MFC after:	3 days
2006-07-24 10:07:27 +00:00
yar
0e343922c8 Don't forget to touch Dd. 2006-06-21 11:46:29 +00:00
yar
ad10a899ae Quite a number of rc.d scripts try to load kernel modules. Many
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.)
2006-06-21 09:42:55 +00:00
flz
dc95de3e71 Reflect latest changes in rc.subr wrt prefix/etcdir variables being set
automatically by load_rc_config.

With help from:	ru (mdoc-fu)
Reviewed by:	brueffer
Approved by:	cperciva
2006-06-07 10:20:57 +00:00
flz
c728727d1b - Sync rc.subr with NetBSD.
- Merge some documentation bits.

Reviewed by:	brooks, simon (doc)
Approved by:	cperciva (mentor)
Obtained from:	NetBSD
MFC after:	3 days
2006-04-04 10:52:15 +00:00
yar
271439a3f1 Forgot to bump .Dd in the last commit. 2006-02-22 15:12:07 +00:00
yar
33f484fce3 Document the relation between $command and $foo_program.
PR:		docs/68453
MFC after:	3 days
2006-02-22 10:57:19 +00:00
luigi
7fe6d13c28 some updates to the manpage.
remove references to mdconfig/vnconfig, and remove
some of the references to floppies since they are rarely
used at all now.
2006-01-31 21:21:02 +00:00
ceri
e1d71bf7ff Fix the location of the initdiskless rc script.
Lose pointers to where these files were two major releases ago.

PR:		docs/90370
Submitted by:	Daniel Feenberg <feenberg at nber dot org>
Harassed by:	Daniel Gerzo <danger at rulez dot sk>
2005-12-30 14:43:31 +00:00
dougb
233424bff1 Bring this page of the manual more in line with reality
as to how things work currently.

Delete a lot of stale references.
2005-12-19 08:48:57 +00:00
dougb
156819c498 Remove rcconf.sh from /etc/rc.d, and instead load the configuration
as part of rc. Doing this, and the sourcing of rc.subr after we have
determined if we are booting diskless (and correspondingly run
rc.initdiskless if necessary) are safe, and actually allow fewer files
to be needed on the diskless box. This also allows variables from
the configuration to be available to rc itself, such as ...

Add a variable to rc.conf, early_late_divider, which designates the
script which separates the early and late stages of the boot process.
Default this to mountcritlocal, and add text to etc/defaults/rc.conf,
rc.conf(5) and diskless(8) which describes how and why one might want
to change this.

Reviewed by:	brooks
2005-12-10 20:21:46 +00:00
ru
8a2652d669 -mdoc sweep. 2005-11-18 10:56:28 +00:00
kientzle
720f36e2ac Use .Nx macro for NetBSD.
Thanks to: Ruslan Ermilov
2005-11-10 15:42:51 +00:00
kientzle
8ac32b507e Credit NetBSD as the source for the /rescue concept.
While I'm here, update my own email address.

Thanks to: Luke Mewburn for pointing out the oversight.
2005-11-10 06:36:06 +00:00
yar
4a93cc5bfd Use consistent punctuation and vertical indenting around .Dl's.
Wrap a too long line.
2005-10-26 04:20:18 +00:00
yar
82d988c3c8 Document that `reload' is not provided by default
yet it can be enabled when applicable.
2005-10-26 04:12:34 +00:00
yar
633be11491 Replace "/etc/make.conf" with references to make.conf(5)
where applicable.  The main reason for this change is that
the location of make.conf is not constant and can be
modified via __MAKE_CONF.  This change also improves
hyper-text linkage in our manpages.

MFC after:	2 weeks
2005-10-10 14:55:59 +00:00
hmp
a88594d818 Use 'manual page' instead of 'man page' for consistency.
Approved by:	re (hrs)
2005-06-30 13:04:25 +00:00
jkoshy
a047b79479 Substitute "kgdb" for "gdb -k". 2005-06-07 06:21:43 +00:00
ru
41e43fe860 Fixed xref. 2005-01-21 12:01:00 +00:00
ru
7a3e657c56 Sort sections. 2005-01-21 08:36:40 +00:00
trhodes
2f3725fd68 S_ISVTX -> S_ISTXT to reflect the code. 2005-01-18 01:27:44 +00:00
ru
c8158555ed NOPAM -> NO_PAM 2004-12-21 12:49:24 +00:00
mtm
15ba1cfe47 2004-10-07 14:06:23 +00:00
brooks
dd824cc52f Update the list of files involved in diskless booting.
Reminded by:	pjd
2004-09-29 05:28:48 +00:00
ru
933877b657 Fixed markup. 2004-07-09 10:08:03 +00:00