firewall trigger

This commit is contained in:
Serghey Rodin 2014-10-09 16:40:23 +03:00
commit 27dabfb7a4
7 changed files with 50 additions and 0 deletions

View file

@ -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

View file

@ -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}