Add xlock waiting to iptables commands

This commit is contained in:
Julien Vaubourg
2016-05-07 23:28:34 +02:00
parent f93408013d
commit c08286273b
2 changed files with 38 additions and 38 deletions

View File

@@ -41,8 +41,8 @@ is_hotspot_knowme() {
is_firewall_set() {
wired_device=${1}
ip6tables -nvL OUTPUT | grep vpnclient_out | grep -q "${wired_device}"\
&& iptables -nvL OUTPUT | grep vpnclient_out | grep -q "${wired_device}"
ip6tables -w -nvL OUTPUT | grep vpnclient_out | grep -q "${wired_device}"\
&& iptables -w -nvL OUTPUT | grep vpnclient_out | grep -q "${wired_device}"
}
is_ip6addr_set() {