mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-22 18:45:25 +00:00
Update iptables.sh
This commit is contained in:
parent
cdc7fefb16
commit
c25f20fc69
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
# Wait until tunnel is up
|
# Wait until tunnel is up
|
||||||
while : ; do
|
while : ; do
|
||||||
if [ -c /dev/net/tun ]; then
|
tunnelstat=$(netstat -ie | grep -E "tun|tap")
|
||||||
|
if [[ ! -z "${tunnelstat}" ]]; then
|
||||||
break
|
break
|
||||||
else
|
else
|
||||||
sleep 1
|
sleep 1
|
||||||
|
Loading…
Reference in New Issue
Block a user