add dev-tun hook for openvpn

This commit is contained in:
Jörg Thalheim 2015-01-03 17:55:42 +01:00
parent c3e6793a9f
commit 40e6369431
1 changed files with 6 additions and 0 deletions

6
hooks/dev-tun Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
cd ${LXC_ROOTFS_MOUNT}/dev
mkdir net
mknod net/tun c 10 200
chmod 0666 net/tun