mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Trigger for /root/update_firewall_custom.sh
This commit is contained in:
parent
f6bca2a8e1
commit
f477c75418
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue