Suggest `service xyz start/stop/...' instead of /etc/rc.d/xyz.

From cfkoch.
This commit is contained in:
riastradh 2017-02-18 05:38:40 +00:00
parent 025d29d5ce
commit 2a63a35f64

View File

@ -1,4 +1,4 @@
.\" $NetBSD: afterboot.8,v 1.53 2016/12/17 07:37:24 maya Exp $
.\" $NetBSD: afterboot.8,v 1.54 2017/02/18 05:38:40 riastradh Exp $
.\" $OpenBSD: afterboot.8,v 1.72 2002/02/22 02:02:33 miod Exp $
.\"
.\" Originally created by Marshall M. Midden -- 1997-10-20, m4@umn.edu
@ -327,7 +327,7 @@ or in the file
If you need to edit this file, a painless way to reconfigure the network
afterwards is to issue
.Bd -literal -offset indent
.Ic /etc/rc.d/network restart
.Ic service network restart
.Ed
.Pp
Or, you may prefer to manually configure using a series of
@ -340,7 +340,7 @@ If you run
.Xr dhcpcd 8
you will have to kill it by running
.Bd -literal -offset indent
.Ic /etc/rc.d/dhcpcd stop
.Ic service dhcpcd stop
.Ed
.Pp
before you flush the routes.
@ -368,7 +368,7 @@ in
.Pa /etc/rc.conf
and then starting the server with the command
.Bd -literal -offset indent
.Ic /etc/rc.d/sshd start
.Ic service sshd start
.Ed
.Pp
The first time the server is started, it will generate a new keypair,
@ -390,7 +390,7 @@ in
.Pa /etc/rc.conf
and either rebooting or running the following command:
.Bd -literal -offset indent
.Ic /etc/rc.d/named start
.Ic service named start
.Ed
.Pp
.Xr named 8
@ -753,9 +753,9 @@ Edit
and get it correct.
After this, you can start the server by issuing:
.Bd -literal -offset indent
.Ic /etc/rc.d/rpcbind start
.Ic /etc/rc.d/mountd start
.Ic /etc/rc.d/nfsd start
.Ic service rpcbind start
.Ic service mountd start
.Ic service nfsd start
.Ed
which will also start dependencies.
.Ss HP remote boot server