mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
Fix for update_firewall_custom.sh
This commit is contained in:
parent
41f4778c7e
commit
8652b25dd0
1 changed files with 2 additions and 1 deletions
|
@ -72,8 +72,9 @@ 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
|
||||||
|
|
||||||
|
# Triger for custom iptables commands
|
||||||
if [ -x "/root/update_firewall_custom.sh" ]; then
|
if [ -x "/root/update_firewall_custom.sh" ]; then
|
||||||
/root/update_firewall_custom.sh 1
|
/root/update_firewall_custom.sh "$tmp" "1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Pasring iptables rules
|
# Pasring iptables rules
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue