Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.

Commit

Permalink
update shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
FranzKafkaYu committed Dec 4, 2022
1 parent 39ee5e0 commit 5665073
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ install_x-ui() {
echo -e "x-ui update - 更新 x-ui 面板"
echo -e "x-ui install - 安装 x-ui 面板"
echo -e "x-ui uninstall - 卸载 x-ui 面板"
echo -e "x-ui geo - 更新 geo 数据"
echo -e "----------------------------------------------"
}

Expand Down
1 change: 1 addition & 0 deletions install_en.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ install_x-ui() {
echo -e "x-ui update - Update x-ui "
echo -e "x-ui install - Install x-ui "
echo -e "x-ui uninstall - Uninstall x-ui "
echo -e "x-ui geo - Update geo data"
echo -e "----------------------------------------------"
}

Expand Down
12 changes: 6 additions & 6 deletions x-ui_en.sh
Original file line number Diff line number Diff line change
Expand Up @@ -512,8 +512,8 @@ ssl_cert_issue_standalone() {
fi
#install cert
~/.acme.sh/acme.sh --installcert -d ${domain} --ca-file /root/cert/ca.cer \
--cert-file /root/cert/${domain}.cer --key-file /root/cert/${domain}.key \
--fullchain-file /root/cert/fullchain.cer
--cert-file /root/cert/${domain}.cer --key-file /root/cert/${domain}.key \
--fullchain-file /root/cert/fullchain.cer

if [ $? -ne 0 ]; then
LOGE "install certs failed,exit"
Expand Down Expand Up @@ -595,8 +595,8 @@ ssl_cert_issue_by_cloudflare() {
LOGI "issue cert succeed,installing..."
fi
~/.acme.sh/acme.sh --installcert -d ${CF_Domain} -d *.${CF_Domain} --ca-file /root/cert/ca.cer \
--cert-file /root/cert/${CF_Domain}.cer --key-file /root/cert/${CF_Domain}.key \
--fullchain-file /root/cert/fullchain.cer
--cert-file /root/cert/${CF_Domain}.cer --key-file /root/cert/${CF_Domain}.key \
--fullchain-file /root/cert/fullchain.cer
if [ $? -ne 0 ]; then
LOGE "install cert failed,exit"
rm -rf ~/.acme.sh/${CF_Domain}
Expand Down Expand Up @@ -657,8 +657,8 @@ show_menu() {
${green}11.${plain} check x-ui status
${green}12.${plain} check x-ui logs
————————————————
${green}13.${plain} enable x-ui on sysyem startup
${green}14.${plain} disabel x-ui on sysyem startup
${green}13.${plain} enable x-ui on system startup
${green}14.${plain} disabel x-ui on system startup
————————————————
${green}15.${plain} enable bbr
${green}16.${plain} issuse certs
Expand Down

0 comments on commit 5665073

Please sign in to comment.