Module Name: src Committed By: riastradh Date: Sat Feb 18 05:38:40 UTC 2017
Modified Files: src/share/man/man8: afterboot.8 Log Message: Suggest `service xyz start/stop/...' instead of /etc/rc.d/xyz. >From cfkoch. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/share/man/man8/afterboot.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man8/afterboot.8 diff -u src/share/man/man8/afterboot.8:1.53 src/share/man/man8/afterboot.8:1.54 --- src/share/man/man8/afterboot.8:1.53 Sat Dec 17 07:37:24 2016 +++ src/share/man/man8/afterboot.8 Sat Feb 18 05:38:40 2017 @@ -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, m...@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