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