Fix for update_firewall_custom.sh

This commit is contained in:
myvesta 2019-09-30 18:47:33 +02:00 committed by GitHub
commit 8652b25dd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,8 +72,9 @@ for ip in $(ls $VESTA/data/ips); do
done
echo "$iptables -A INPUT -s 127.0.0.1 -j ACCEPT" >> $tmp
# Triger for custom iptables commands
if [ -x "/root/update_firewall_custom.sh" ]; then
/root/update_firewall_custom.sh 1
/root/update_firewall_custom.sh "$tmp" "1"
fi
# Pasring iptables rules