Update iptables.sh

This commit is contained in:
MarkusMcNugen 2018-02-03 02:24:52 -05:00 committed by GitHub
parent 777f66097b
commit 62350cc0d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,14 @@
# ip route
###
while true; do
if [ -c /dev/net/tun ];
break
else
sleep 1
fi
done
# split comma seperated string into list from LAN_NETWORK env variable
IFS=',' read -ra lan_network_list <<< "${LAN_NETWORK}"