automatically set up by the kernel when a routing domain is created.
An existing lo1 in rdomain 0 would prevent to add any interfaces
in rdomain 1.
OK kn@
#!/bin/sh -
#
-# $OpenBSD: netstart,v 1.215 2021/08/30 16:58:52 bluhm Exp $
+# $OpenBSD: netstart,v 1.216 2021/09/02 19:38:20 bluhm Exp $
# Turn off Strict Bourne shell mode.
set +o sh
[[ -f $_hn ]] || continue
_if=${_hn#/etc/hostname.}
+ # loopback for routing domain is created by kernel
+ [[ -n ${_if##lo[1-9]*} ]] || continue
+
if ! ifcreate $_if; then
print -u2 "${0##*/}: create for '$_if' failed."
fi