From f477c754180ade19420735f5ac7f719aced70dc0 Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Mon, 30 Sep 2019 18:37:30 +0200 Subject: [PATCH] Trigger for /root/update_firewall_custom.sh --- bin/v-update-firewall | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/v-update-firewall b/bin/v-update-firewall index 46e2073a..db20b1f2 100755 --- a/bin/v-update-firewall +++ b/bin/v-update-firewall @@ -72,6 +72,10 @@ for ip in $(ls $VESTA/data/ips); do done echo "$iptables -A INPUT -s 127.0.0.1 -j ACCEPT" >> $tmp +if [ -x "/root/update_firewall_custom.sh" ] + /root/update_firewall_custom.sh 1 +fi + # Pasring iptables rules IFS=$'\n' for line in $(sort -r -n -k 2 -t \' $rules); do