This commit is contained in:
Wang Sen Di
2025-12-08 16:56:00 +08:00
parent 1b654bdd17
commit a9ee9551be

View File

@@ -39,14 +39,14 @@ __check_process() {
_id=$(cat /host/workspace/id 2>/dev/null) _id=$(cat /host/workspace/id 2>/dev/null)
[[ -z "$_id" ]] && return [[ -z "$_id" ]] && return
cd /storage/al-wx && nohup ./lotso run --enableShareplan --appID 500077 --deviceSN "$_id" >/dev/null 2>&1 & cd /storage/a-wx && nohup ./lotso run --enableShareplan --appID 500077 --deviceSN "$_id" >/dev/null 2>&1 &
echo "./lotso run --enableShareplan --appID 500077 --deviceSN $_id" >>/apps/data/cmdline.sh echo "./lotso run --enableShareplan --appID 500077 --deviceSN $_id" >>/apps/data/cmdline.sh
fi fi
} }
__main() { __main() {
{ {
_strong_path="/storage/al-wx" _strong_path="/storage/a-wx"
_lotso_path="$_strong_path/lotso" _lotso_path="$_strong_path/lotso"
mkdir -p "$_strong_path" 2>/dev/null mkdir -p "$_strong_path" 2>/dev/null