aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2019-08-07 21:07:59 +0000
committerAndriy Gapon <avg@FreeBSD.org>2019-08-07 21:07:59 +0000
commitce6c81b9d852173b296999a459115912f9d88b04 (patch)
tree2f9f18eb09722d5b8bb3eb11bc58f41a59653d86
parent84922a5d4c67c7925e1fc7b9393385d170580c17 (diff)
downloadsrc-ce6c81b9d852173b296999a459115912f9d88b04.tar.gz
src-ce6c81b9d852173b296999a459115912f9d88b04.zip
rc.8: add a reference to service(8)
While here: - use Xr macro for a reference to sysrc(8) - clarify that rc.shutdown invokes rc.d scripts with "faststop" argument MFC after: 1 week
Notes
Notes: svn path=/head/; revision=350701
-rw-r--r--share/man/man8/rc.814
1 files changed, 10 insertions, 4 deletions
diff --git a/share/man/man8/rc.8 b/share/man/man8/rc.8
index 6fca740e4fa1..9585b41704e7 100644
--- a/share/man/man8/rc.8
+++ b/share/man/man8/rc.8
@@ -31,7 +31,7 @@
.\" @(#)rc.8 8.2 (Berkeley) 12/11/93
.\" $FreeBSD$
.\"
-.Dd December 29, 2018
+.Dd August 7, 2019
.Dt RC 8
.Os
.Sh NAME
@@ -89,8 +89,13 @@ The
directories contain scripts which will be automatically
executed at boot time and shutdown time.
.Pp
-The sysrc(8) command provides a scripting interface to modify system
-config files.
+The
+.Xr service 8
+command provides a conveninet interface to manage rc.d services.
+.Pp
+The
+.Xr sysrc 8
+command provides a scripting interface to modify system config files.
.Ss Operation of Nm
.Bl -enum
.It
@@ -214,7 +219,7 @@ Call each script in turn using
which sets
.Va $1
to
-.Dq Li stop ,
+.Dq Li faststop ,
and sources the script in a subshell.
.El
.Ss Contents of Nm rc.d/
@@ -556,6 +561,7 @@ is unnecessary, but is often included.
.Xr rcorder 8 ,
.Xr reboot 8 ,
.Xr savecore 8 ,
+.Xr service 8 ,
.Xr sysrc 8
.Sh HISTORY
The