From 5c0bc8a1b70aee68cff61989c8869c48b8d14ae3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Wed, 19 Jun 2024 01:15:00 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=89=E8=A3=85=E5=90=8E=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=AE=89=E8=A3=85=E8=84=9A=E6=9C=AC=E5=92=8Cchecksum?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/install_panel.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install_panel.sh b/scripts/install_panel.sh index 9e06bd10..352ef443 100644 --- a/scripts/install_panel.sh +++ b/scripts/install_panel.sh @@ -21,6 +21,7 @@ along with this program. If not, see . LOGO="+----------------------------------------------------\n| 耗子面板安装脚本\n+----------------------------------------------------\n| Copyright © 2022-"$(date +%Y)" 耗子科技 All rights reserved.\n+----------------------------------------------------" HR="+----------------------------------------------------" setup_Path="/www" +current_Path=$(pwd) sshPort=$(cat /etc/ssh/sshd_config | grep 'Port ' | awk '{print $2}') inChina=$(curl --retry 2 -m 10 -L https://www.cloudflare-cn.com/cdn-cgi/trace 2> /dev/null | grep -qx 'loc=CN' && echo "true" || echo "false") @@ -338,6 +339,8 @@ EOF echo -e $HR panel init panel getInfo + + cd ${current_Path} rm -f install_panel.sh rm -f install_panel.sh.checksum.txt }