=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/netstart,v retrieving revision 1.232 retrieving revision 1.233 diff -u -r1.232 -r1.233 --- src/etc/netstart 2022/12/16 17:57:39 1.232 +++ src/etc/netstart 2022/12/18 05:51:14 1.233 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: netstart,v 1.232 2022/12/16 17:57:39 kn Exp $ +# $OpenBSD: netstart,v 1.233 2022/12/18 05:51:14 kn Exp $ # Turn off Strict Bourne shell mode. set +o sh @@ -173,8 +173,8 @@ chown -LR root:wheel $_hn fi - # Check for ifconfig'able interface, except if -n option is specified. - ifcreate $_if || return + # Skip missing physical interface, virtual ones were created up front. + ifconfig $_if >/dev/null 2>&1 || return # Parse the hostname.if(5) file and fill _cmds array with interface # configuration commands.