mirror of
https://github.com/kejilion/sh.git
synced 2025-10-03 23:34:20 +08:00
Update kejilion.sh
This commit is contained in:
parent
f3c900b7de
commit
9da6566739
1 changed files with 20 additions and 0 deletions
20
kejilion.sh
20
kejilion.sh
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue