mirror of
https://github.com/openbsd/src.git
synced 2024-12-21 23:18:00 -08:00
Revert previous as it doesn't create additional lo(4) anymore
Reported by Andreas Bartelt on bugs@
This commit is contained in:
parent
f77a0a6c86
commit
8f27d2fe26
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user