#!/bin/sh -
#
-# $OpenBSD: netstart,v 1.219 2022/07/03 12:14:36 kn Exp $
+# $OpenBSD: netstart,v 1.220 2022/10/21 12:04:51 kn Exp $
# Turn off Strict Bourne shell mode.
set +o sh
# Show usage of the netstart script and exit.
usage() {
- print -u2 "usage: ${0##*/} [[-n] interface ...]"
+ print -u2 "usage: ${0##*/} [-n] [interface ...]"
exit 1
}
-.\" $OpenBSD: netstart.8,v 1.27 2022/07/05 08:14:12 kn Exp $
+.\" $OpenBSD: netstart.8,v 1.28 2022/10/21 12:04:51 kn Exp $
.\"
.\" Copyright (c) 2002, Miodrag Vallat.
.\" All rights reserved.
.\"
.\" @(#)rc.8 8.2 (Berkeley) 12/11/93
.\"
-.Dd $Mdocdate: July 5 2022 $
+.Dd $Mdocdate: October 21 2022 $
.Dt NETSTART 8
.Os
.Sh NAME
.Nd command script for network startup
.Sh SYNOPSIS
.Nm /etc/netstart
-.Op Oo Fl n Oc Ar interface ...
+.Op Fl n
+.Op Ar interface ...
.Sh DESCRIPTION
.Nm
is the command script that is invoked by