mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-22 10:31:34 -05:00
Update install.sh
This commit is contained in:
parent
2e57a21641
commit
e668f68ef8
@ -936,7 +936,7 @@ broadcast(){
|
|||||||
output "All unnecessary ports are blocked by default."
|
output "All unnecessary ports are blocked by default."
|
||||||
if [ "$lsb_dist" = "ubuntu" ] || [ "$lsb_dist" = "debian" ]; then
|
if [ "$lsb_dist" = "ubuntu" ] || [ "$lsb_dist" = "debian" ]; then
|
||||||
output "Use 'ufw allow <port>' to enable your desired ports."
|
output "Use 'ufw allow <port>' to enable your desired ports."
|
||||||
elif [ "$lsb_dist" = "fedora" ] || [ "$lsb_dist" = "centos" ]; then
|
elif [ "$lsb_dist" = "fedora" ] || [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "rhel" ] || [ "$lsb_dist" = "rocky" ]; then
|
||||||
output "Use 'firewall-cmd --permanent --add-port=<port>/tcp' to enable your desired ports."
|
output "Use 'firewall-cmd --permanent --add-port=<port>/tcp' to enable your desired ports."
|
||||||
fi
|
fi
|
||||||
output "###############################################################"
|
output "###############################################################"
|
||||||
|
Loading…
Reference in New Issue
Block a user