Update cloudflare.sh
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ if [ "$lsb_dist" = "ubuntu" ] || [ "$lsb_dist" = "debian" ]; then
|
|||||||
|
|
||||||
yes | ufw enable
|
yes | ufw enable
|
||||||
elif [ "$lsb_dist" = "fedora" ] || [ "$lsb_dist" = "rhel" ] || [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "opensuse" ]; then
|
elif [ "$lsb_dist" = "fedora" ] || [ "$lsb_dist" = "rhel" ] || [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "opensuse" ]; then
|
||||||
if [ "$lsb_dist" = "fedora" ] || [ "$lsb_dist" = "rhel" ] || [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "opensuse" ]; then
|
if [ "$lsb_dist" = "fedora" ] || [ "$lsb_dist" = "rhel" ] || [ "$lsb_dist" = "centos" ]; then
|
||||||
yum -y install firewalld wget
|
yum -y install firewalld wget
|
||||||
elif [ "$lsb_dist" = "opensuse" ]; then
|
elif [ "$lsb_dist" = "opensuse" ]; then
|
||||||
zypper in firewalld wget -y
|
zypper in firewalld wget -y
|
||||||
|
|||||||
Reference in New Issue
Block a user