OpenBSD CVS

CVS log for src/etc/netstart


[BACK] Up to [local] / src / etc

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_7_2_BASE


Revision 1.219 / (download) - annotate - [select for diffs], Sun Jul 3 12:14:36 2022 UTC (23 months ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.218: +22 -2 lines
Diff to previous 1.218 (colored)

Create virtual interfaces upfront if specified on the command line

In cases like `sh /etc/netstart pair1 pair2', one of hostname.pair{1,2}
will contain a "patch pair{2,1}" command which expects the other interface
to exist.

If none exist, this would fail and netstart had to be run separately or
"patch"ed interface had to be manually created before.

There are other use cases where interfaces depend on each other, so before
(re)configuring an explicit list of interfaces, create all virtual ones
upfront so that a single netstart invocation will configure everything
correctly without having reflect dependencies in multiple ordered netstart
invocations.

Copy isin() from install.sub to help.

Feedback OK halex

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.