summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rcctl
diff options
context:
space:
mode:
authorajacoutot <ajacoutot@openbsd.org>2016-01-29 20:14:08 +0000
committerajacoutot <ajacoutot@openbsd.org>2016-01-29 20:14:08 +0000
commit1965a55d97b23fab13015aba4589420217ccb725 (patch)
tree91b714f336cf898f158f162eb72893ea45705b41 /usr.sbin/rcctl
parentSecond step in synching with NetBSD: (diff)
downloadwireguard-openbsd-1965a55d97b23fab13015aba4589420217ccb725.tar.xz
wireguard-openbsd-1965a55d97b23fab13015aba4589420217ccb725.zip
Use apmd instead of ntpd in the example since the later is on by default.
Diffstat (limited to 'usr.sbin/rcctl')
-rw-r--r--usr.sbin/rcctl/rcctl.819
1 files changed, 10 insertions, 9 deletions
diff --git a/usr.sbin/rcctl/rcctl.8 b/usr.sbin/rcctl/rcctl.8
index 6fc11612c9f..308f5a7d620 100644
--- a/usr.sbin/rcctl/rcctl.8
+++ b/usr.sbin/rcctl/rcctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rcctl.8,v 1.26 2015/10/24 17:08:36 jmc Exp $
+.\" $OpenBSD: rcctl.8,v 1.27 2016/01/29 20:14:08 ajacoutot Exp $
.\"
.\" Copyright (c) 2014 Antoine Jacoutot <ajacoutot@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 24 2015 $
+.Dd $Mdocdate: January 29 2016 $
.Dt RCCTL 8
.Os
.Sh NAME
@@ -181,15 +181,16 @@ utility exits with 0 on success, and >0 if an error occurs
.Pc .
.Sh EXAMPLES
Enable and set
-.Xr ntpd 8
+.Xr apmd 8
flags:
.Bd -literal -offset indent
-# rcctl set ntpd status on
-# rcctl set ntpd flags -s
-# rcctl get ntpd
-ntpd_flags=-s
-ntpd_timeout=30
-ntpd_user=root
+# rcctl set apmd status on
+# rcctl set apmd flags -A
+# rcctl get apmd
+apmd_class=daemon
+apmd_flags=-A
+apmd_timeout=30
+apmd_user=root
# echo $?
0
.Ed