From 8f27d2fe264b9d0f6ec21b7ebd8564739ba7b59c Mon Sep 17 00:00:00 2001 From: kn Date: Sun, 18 Dec 2022 15:52:52 +0000 Subject: [PATCH] Revert previous as it doesn't create additional lo(4) anymore Reported by Andreas Bartelt on bugs@ --- etc/netstart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/netstart b/etc/netstart index 71f8885b8e2..af4866f909e 100644 --- a/etc/netstart +++ b/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: netstart,v 1.233 2022/12/18 05:51:14 kn Exp $ +# $OpenBSD: netstart,v 1.234 2022/12/18 15:52:52 kn Exp $ # Turn off Strict Bourne shell mode. set +o sh @@ -173,8 +173,8 @@ ifstart() { chown -LR root:wheel $_hn fi - # Skip missing physical interface, virtual ones were created up front. - ifconfig $_if >/dev/null 2>&1 || return + # Check for ifconfig'able interface, except if -n option is specified. + ifcreate $_if || return # Parse the hostname.if(5) file and fill _cmds array with interface # configuration commands. -- 2.20.1