mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -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
|
done
|
||||||
echo "$iptables -A INPUT -s 127.0.0.1 -j ACCEPT" >> $tmp
|
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
|
# Pasring iptables rules
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
for line in $(sort -r -n -k 2 -t \' $rules); do
|
for line in $(sort -r -n -k 2 -t \' $rules); do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue