Update stack downloads-vpn #96

Merged
NightPumpkin merged 17 commits from evo-readme-stackdl into master 2021-08-19 10:59:58 +02:00
Showing only changes of commit cd01f7dda3 - Show all commits

View File

@ -0,0 +1,15 @@
#!/bin/sh
# Create the necessary file structure for /dev/net/tun
if ( [ ! -c /dev/net/tun ] ); then
if ( [ ! -d /dev/net ] ); then
mkdir -m 755 /dev/net
fi
mknod /dev/net/tun c 10 200
chmod 0755 /dev/net/tun
fi
# Load the tun module if not already loaded
if ( !(lsmod | grep -q "^tun\s") ); then
insmod /lib/modules/tun.ko
fi