Update kejilion.sh

This commit is contained in:
kejilion 2023-08-20 16:16:18 +08:00 committed by GitHub
parent f3c900b7de
commit 9da6566739
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1841,6 +1841,16 @@ case $choice in
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F
if ! command -v wget &>/dev/null; then
if command -v apt &>/dev/null; then
apt update -y && apt install -y wget
elif command -v yum &>/dev/null; then
yum -y update && yum -y install wget
else
echo "未知的包管理器!"
exit 1
fi
fi
if [ "$system_type" == "centos" ]; then
yum install -y wget && wget -O install.sh https://download.bt.cn/install/install_6.0.sh && sh install.sh ed8484bec
elif [ "$system_type" == "ubuntu" ]; then
@ -1927,6 +1937,16 @@ case $choice in
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F
if ! command -v wget &>/dev/null; then
if command -v apt &>/dev/null; then
apt update -y && apt install -y wget
elif command -v yum &>/dev/null; then
yum -y update && yum -y install wget
else
echo "未知的包管理器!"
exit 1
fi
fi
if [ "$system_type" == "centos" ]; then
yum install -y wget && wget -O install.sh http://www.aapanel.com/script/install_6.0_en.sh && bash install.sh aapanel
elif [ "$system_type" == "ubuntu" ]; then