This commit is contained in:
flucont
2023-02-17 17:57:04 +08:00
parent aa704d86ac
commit eb5deaeda0
8 changed files with 23 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
Linux_Version="7.9.8"
Windows_Version="7.8.0"
Btm_Version="1.0.11"
Btm_Version="1.0.12"
FILES=(
public/install/src/panel6.zip

View File

@@ -330,6 +330,12 @@ EOF
/etc/init.d/btm stop
sleep 1
fi
if [ -f "/www/server/bt-monitor/sqlite-server.sh" ]; then
chmod +x /www/server/bt-monitor/sqlite-server.sh
/www/server/bt-monitor/sqlite-server.sh stop
sleep 1
fi
version="1.0.2"
file_name="bt-monitor"
@@ -669,6 +675,12 @@ Install_Main(){
Uninstall_Monitor(){
pkill BT-MONITOR
/etc/init.d/btm stop
if [ -f "/www/server/bt-monitor/sqlite-server.sh" ]; then
chmod +x /www/server/bt-monitor/sqlite-server.sh
/www/server/bt-monitor/sqlite-server.sh stop
sleep 1
fi
Service_Del

Binary file not shown.

View File

@@ -23,6 +23,12 @@ if [ -f "/etc/init.d/btm" ]; then
sleep 1
fi
if [ -f "/www/server/bt-monitor/sqlite-server.sh" ]; then
chmod +x /www/server/bt-monitor/sqlite-server.sh
/www/server/bt-monitor/sqlite-server.sh stop
sleep 1
fi
get_node_url(){
if [ ! -f /bin/curl ];then
if [ "${PM}" = "yum" ]; then

View File

@@ -40,3 +40,5 @@
- init.sh http://download.bt.cn => http://www.example.com
- 根目录BT-MONITOR 取消第一个CreateSSL方法定义的注释删除第二个CreateSSL方法定义

View File

@@ -57,6 +57,8 @@
temp_file = temp_file.replace('https://download.bt.cn/install/public.sh', 'http://www.example.com/install/public.sh')
```
- class/plugin_deployment.py 文件SetupPackage方法内替换 public.GetConfigValue('home') => 'https://www.bt.cn'
- install/install_soft.sh 在bash执行之前加入以下代码
```shell