mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2025-12-06 10:13:21 +00:00
Update iptables.sh
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user