|
|
@ -331,6 +331,12 @@ EOF |
|
|
|
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" |
|
|
|
agent_src="bt-monitor.zip" |
|
|
@ -670,6 +676,12 @@ 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 |
|
|
|
|
|
|
|
rm -rf $monitor_path |
|
|
|