Initial commit

This commit is contained in:
Quentin McGaw
2018-02-06 21:57:41 -05:00
parent 1dffec8c48
commit 244ad9bb40
6 changed files with 99 additions and 2 deletions

11
tun.sh Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
if ( [ ! -c /dev/net/tun ] ); then
if ( [ ! -d /dev/net ] ); then
mkdir -m 755 /dev/net
fi
mknod /dev/net/tun c 10 200
fi
if ( !(lsmod | grep -q "^tun\s") ); then
insmod /lib/modules/tun.ko
fi