mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-22 02:21:33 -05:00
Permanently disable cockpit
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
c574c31662
commit
dd14a64bac
@ -527,7 +527,7 @@ EOF
|
|||||||
output "Configuring your firewall..."
|
output "Configuring your firewall..."
|
||||||
dnf -y install firewalld
|
dnf -y install firewalld
|
||||||
systemctl enable --now firewalld
|
systemctl enable --now firewalld
|
||||||
firewall-cmd --remove-service=cockpit
|
firewall-cmd --permanent --remove-service=cockpit
|
||||||
if [ "$installoption" = "1" ]; then
|
if [ "$installoption" = "1" ]; then
|
||||||
firewall-cmd --permanent --add-service=http
|
firewall-cmd --permanent --add-service=http
|
||||||
firewall-cmd --permanent --add-service=https
|
firewall-cmd --permanent --add-service=https
|
||||||
|
Loading…
Reference in New Issue
Block a user