mirror of
https://github.com/haugene/docker-transmission-openvpn.git
synced 2025-08-12 09:17:07 +02:00
Add log statement about TUN device #1503
This commit is contained in:
parent
99fa4baf65
commit
87c8ce416b
@ -28,6 +28,7 @@ fi
|
|||||||
|
|
||||||
# If create_tun_device is set, create /dev/net/tun
|
# If create_tun_device is set, create /dev/net/tun
|
||||||
if [[ "${CREATE_TUN_DEVICE,,}" == "true" ]]; then
|
if [[ "${CREATE_TUN_DEVICE,,}" == "true" ]]; then
|
||||||
|
echo "Creating TUN device /dev/net/tun"
|
||||||
mkdir -p /dev/net
|
mkdir -p /dev/net
|
||||||
mknod /dev/net/tun c 10 200
|
mknod /dev/net/tun c 10 200
|
||||||
chmod 0666 /dev/net/tun
|
chmod 0666 /dev/net/tun
|
||||||
|
Loading…
Reference in New Issue
Block a user