1
0
mirror of synced 2024-11-21 20:46:10 +03:00
This commit is contained in:
hwdsl2 2024-10-15 22:37:34 -05:00
parent 2991302d57
commit 97189acf97

View File

@ -693,9 +693,7 @@ apply_gcp_mtu_fix() {
enable_on_boot() { enable_on_boot() {
bigecho "Enabling services on boot..." bigecho "Enabling services on boot..."
systemctl --now mask firewalld 2>/dev/null systemctl --now mask firewalld 2>/dev/null
if [ "$os_type$os_ver" = "ol9" ]; then if [ "$use_nft" = 1 ]; then
systemctl enable nftables 2>/dev/null
elif [ "$use_nft" = 1 ]; then
systemctl enable nftables 2>/dev/null systemctl enable nftables 2>/dev/null
systemctl enable fail2ban 2>/dev/null systemctl enable fail2ban 2>/dev/null
else else
@ -823,9 +821,7 @@ vpnsetup() {
install_vpn_pkgs_1 install_vpn_pkgs_1
install_vpn_pkgs_2 install_vpn_pkgs_2
install_vpn_pkgs_3 install_vpn_pkgs_3
if [ "$os_type$os_ver" != "ol9" ]; then install_fail2ban
install_fail2ban
fi
get_helper_scripts get_helper_scripts
get_libreswan get_libreswan
install_libreswan install_libreswan