Add xlock waiting to iptables commands

This commit is contained in:
Julien Vaubourg
2016-05-07 23:30:23 +02:00
parent b2a0aecb41
commit 852d331df3
2 changed files with 11 additions and 11 deletions

View File

@@ -36,7 +36,7 @@ sudo yunohost app setting hotspot gitcommit -v "${gitcommit}"
# Changes
if [ "$(ynh_setting hotspot ip6_firewall)" == '' ]; then
if [ -z "$(ynh_setting hotspot ip6_firewall)" ]; then
multissid=$(ynh_setting hotspot multissid)
ip6_firewall=$(printf '1|%.0s' $(seq "${multissid}"))
ip6_firewall=$(echo "${ip6_firewall%?}")