Re: netstart: fix synopsis

2022-10-22 Thread Klemens Nanni
On Sat, Oct 22, 2022 at 04:11:25PM +0200, Theo Buehler wrote: > > I don't think we have another script in base that is meant to be run > > manually, so netstart(8) stands out. > > MAKEDEV Right, what I meant was "to be run manually **as argument to sh(1)**". I keep doing `cd /dev; sh MAKEDEV sd0

Re: netstart: fix synopsis

2022-10-22 Thread Theo Buehler
On Sat, Oct 22, 2022 at 04:11:25PM +0200, Theo Buehler wrote: > > I don't think we have another script in base that is meant to be run > > manually, so netstart(8) stands out. > > MAKEDEV And it turns out I can't read ls output

Re: netstart: fix synopsis

2022-10-22 Thread Theo Buehler
> I don't think we have another script in base that is meant to be run > manually, so netstart(8) stands out. MAKEDEV

Re: netstart: fix synopsis

2022-10-22 Thread Klemens Nanni
On Sat, Oct 22, 2022 at 07:24:21AM +0100, Jason McIntyre wrote: > On Fri, Oct 21, 2022 at 06:58:52PM +, Klemens Nanni wrote: > > But now that I see your diff, I think we should actually include `sh' > > in the synopsis since /etc/netstart is not executable, so the documented > > form does not a

Re: netstart: fix synopsis

2022-10-21 Thread Jason McIntyre
On Fri, Oct 21, 2022 at 06:58:52PM +, Klemens Nanni wrote: > On Fri, Oct 21, 2022 at 06:39:59PM +0100, Jason McIntyre wrote: > > i was going to incliude this in my answer, but eventually thought it > > looks like a seperate diff: > > > > the text currently reads as though only a singular inter

Re: netstart: fix synopsis

2022-10-21 Thread Klemens Nanni
On Fri, Oct 21, 2022 at 06:39:59PM +0100, Jason McIntyre wrote: > i was going to incliude this in my answer, but eventually thought it > looks like a seperate diff: > > the text currently reads as though only a singular interface is > specified, and -n is kind of hidden. so i reworked the text. i

Re: netstart: fix synopsis

2022-10-21 Thread Jason McIntyre
On Fri, Oct 21, 2022 at 12:55:49PM +0100, Jason McIntyre wrote: > On Fri, Oct 21, 2022 at 09:30:08AM +, Klemens Nanni wrote: > > Using -n does not require an interface: > > > > # sh /etc/netstart -n ; echo $? > > ifconfig lo0 inet 127.0.0.1/8 > > route -qn add -inet6 fe80:: -prefix

Re: netstart: fix synopsis

2022-10-21 Thread Jason McIntyre
On Fri, Oct 21, 2022 at 09:30:08AM +, Klemens Nanni wrote: > Using -n does not require an interface: > > # sh /etc/netstart -n ; echo $? > ifconfig lo0 inet 127.0.0.1/8 > route -qn add -inet6 fe80:: -prefixlen 10 ::1 -reject > ... > 0 > > OK? > ok. jmc > Index

netstart: fix synopsis

2022-10-21 Thread Klemens Nanni
Using -n does not require an interface: # sh /etc/netstart -n ; echo $? ifconfig lo0 inet 127.0.0.1/8 route -qn add -inet6 fe80:: -prefixlen 10 ::1 -reject ... 0 OK? Index: etc/netstart === RC