Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man8 Suggest `service xyz start/stop/...' instead ...



details:   https://anonhg.NetBSD.org/src/rev/a86749db6870
branches:  trunk
changeset: 821824:a86749db6870
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Feb 18 05:38:40 2017 +0000

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

>From cfkoch.

diffstat:

 share/man/man8/afterboot.8 |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (58 lines):

diff -r 3f9b274a5119 -r a86749db6870 share/man/man8/afterboot.8
--- a/share/man/man8/afterboot.8        Sat Feb 18 05:08:47 2017 +0000
+++ b/share/man/man8/afterboot.8        Sat Feb 18 05:38:40 2017 +0000
@@ -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@localhost
@@ -327,7 +327,7 @@
 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 @@
 .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 @@
 .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 @@
 .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 @@
 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



Home | Main Index | Thread Index | Old Index