mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 13:54:28 -07:00
firewall trigger
This commit is contained in:
parent
e498d8786c
commit
27dabfb7a4
7 changed files with 50 additions and 0 deletions
|
@ -25,5 +25,10 @@ if [ -x "/usr/local/vesta/upd/add_sudo.sh" ]; then
|
|||
/usr/local/vesta/upd/add_sudo.sh
|
||||
fi
|
||||
|
||||
# Run Firewall trigger
|
||||
if [ -x "/usr/local/vesta/upd/add_firewall.sh" ]; then
|
||||
/usr/local/vesta/upd/add_firewall.sh
|
||||
fi
|
||||
|
||||
|
||||
exit 0
|
||||
|
|
|
@ -46,6 +46,9 @@ if [ $1 -ge 2 ]; then
|
|||
if [ -e /usr/local/vesta/upd/add_sudo.sh ]; then
|
||||
/usr/local/vesta/upd/add_sudo.sh
|
||||
fi
|
||||
if [ -e /usr/local/vesta/upd/add_firewall.sh ]; then
|
||||
/usr/local/vesta/upd/add_firewall.sh
|
||||
fi
|
||||
|
||||
%files
|
||||
%{_vestadir}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue