From ca7b0eba99ba7ed941babfcd7994330c53563f77 Mon Sep 17 00:00:00 2001 From: MarkusMcNugen Date: Sat, 3 Feb 2018 02:42:06 -0500 Subject: [PATCH] Update iptables.sh --- qbittorrent/iptables.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/qbittorrent/iptables.sh b/qbittorrent/iptables.sh index 9364ece..ec3160f 100644 --- a/qbittorrent/iptables.sh +++ b/qbittorrent/iptables.sh @@ -1,9 +1,7 @@ #!/bin/bash # Kanged from binhex's OpenVPN dockers -# ip route -### - +# Wait until tunnel is up while : ; do if [ -c /dev/net/tun ]; then break @@ -12,6 +10,9 @@ while : ; do fi done +# ip route +### + # split comma seperated string into list from LAN_NETWORK env variable IFS=',' read -ra lan_network_list <<< "${LAN_NETWORK}"