mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Amazon linux support
This commit is contained in:
parent
26c311b773
commit
4cc3c1d287
12 changed files with 34 additions and 31 deletions
|
@ -157,7 +157,7 @@ if [ ! -z "$FIREWALL_EXTENSION" ]; then
|
|||
fi
|
||||
|
||||
# Saving rules to the master iptables file
|
||||
if [ -e "/etc/redhat-release" ]; then
|
||||
if [ -d "/etc/sysconfig" ]; then
|
||||
/sbin/iptables-save > /etc/sysconfig/iptables
|
||||
if [ -z "$(ls /etc/rc3.d/S*iptables 2>/dev/null)" ]; then
|
||||
/sbin/chkconfig iptables on
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue