From 8652b25dd0b9d2b11a6e502ae1355aa49e86bd11 Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Mon, 30 Sep 2019 18:47:33 +0200 Subject: [PATCH] Fix for update_firewall_custom.sh --- bin/v-update-firewall | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/v-update-firewall b/bin/v-update-firewall index 817d07ef..d2d06355 100755 --- a/bin/v-update-firewall +++ b/bin/v-update-firewall @@ -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