Cleanup
This commit is contained in:
parent
2991302d57
commit
97189acf97
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user