Create tunnel device, which is required by openvpn

patch aports/main/openrc/src/openrc-0.48 as follows:

--- devfs.in    2023-07-05 23:28:44.000000000 +0200
+++ /etc/init.d/devfs   2023-08-13 11:49:51.648388228 +0200
@@ -1,4 +1,4 @@
-#!@SBINDIR@/openrc-run
+#!/sbin/openrc-run
 # Copyright (c) 2007-2015 The OpenRC Authors.
 # See the Authors file at the top-level directory of this distribution and
 # https://github.com/OpenRC/openrc/blob/HEAD/AUTHORS
@@ -89,6 +89,10 @@
        [ -e /dev/stderr ] || ln -snf /proc/self/fd/2 /dev/stderr
        [ -e /proc/kcore ] && ln -snf /proc/kcore /dev/core
 
+       # tunnel interface
+       [ -e /dev/net ] || mkdir /dev/net
+       [ -e /dev/net/tun ] || (mknod /dev/net/tun c 10 200 && chmod 600 /dev/net/tun)
+
        # Mount required directories as user may not have them in /etc/fstab
        for x in \
                "mqueue /dev/mqueue 1777 ,nodev mqueue" \

please patch by hand: this is a diff against the /etc file and and would inadvertently affect the hash-bang.

Edited by Carlo Monte