diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2022-10-24 17:58:44 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2022-10-24 17:58:44 +0000 |
commit | 0b61f6f12ff8b55964557709f7234b59adc83078 (patch) | |
tree | feecb40f3f5393e8f031606ff2f08e119f76b4f7 /share | |
parent | 3e122a9f34c1b6fbe019bd514c71866473185f33 (diff) |
Add required sh(1) to synopsis
Contrary to other scripts in base like rc.d(8) or MAKEDEV(8), netstart(8)
itself is not executable and must be passed as file to sh(1):
$ man -h netstart
/etc/netstart [-n] [interface ...]
$ /etc/netstart
ksh: /etc/netstart: cannot execute - Permission denied
Fix usage and synopsis to provide required usage:
$ man -h netsart
sh /etc/netstart [-n] [interface ...]
OK jmc
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man8/netstart.8 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man8/netstart.8 b/share/man/man8/netstart.8 index 525d52a69af..3222b58e97c 100644 --- a/share/man/man8/netstart.8 +++ b/share/man/man8/netstart.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: netstart.8,v 1.28 2022/10/21 12:04:51 kn Exp $ +.\" $OpenBSD: netstart.8,v 1.29 2022/10/24 17:58:43 kn Exp $ .\" .\" Copyright (c) 2002, Miodrag Vallat. .\" All rights reserved. @@ -25,14 +25,14 @@ .\" .\" @(#)rc.8 8.2 (Berkeley) 12/11/93 .\" -.Dd $Mdocdate: October 21 2022 $ +.Dd $Mdocdate: October 24 2022 $ .Dt NETSTART 8 .Os .Sh NAME .Nm netstart .Nd command script for network startup .Sh SYNOPSIS -.Nm /etc/netstart +.Cm sh Pa /etc/netstart .Op Fl n .Op Ar interface ... .Sh DESCRIPTION |