github.com/mysteriumnetwork/node@v0.0.0-20240516044423-365054f76801/bin/package/config/linux/prepare-env.sh (about) 1 #!/usr/bin/env bash 2 3 if [ ! -d /dev/net ]; then 4 mkdir -p /dev/net 5 fi 6 7 if [ ! -c /dev/net/tun ]; then 8 mknod /dev/net/tun c 10 200 9 fi 10 11 chmod 0666 /dev/net/tun 12