From 6182e879d6e3280d0619216aa2f4d22f8523f7e9 Mon Sep 17 00:00:00 2001 From: Wang Sen Di Date: Sun, 23 Nov 2025 16:08:28 +0800 Subject: [PATCH] - --- deploy/release/t20251123/start.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deploy/release/t20251123/start.sh b/deploy/release/t20251123/start.sh index 920918b..eb85268 100644 --- a/deploy/release/t20251123/start.sh +++ b/deploy/release/t20251123/start.sh @@ -10,11 +10,13 @@ # shellcheck disable=SC2317 if [[ -d "/host/proc/1/" ]]; then source /apps/gitrce/hook/singleton.sh "$0"; fi -if [[ "$1" == "sleep" ]]; then source /apps/gitrce/hook/sleep.sh "$0" 1 30; fi +# if [[ "$1" == "sleep" ]]; then source /apps/gitrce/hook/sleep.sh "$0" 1 30; fi __main() { : - echo 'start.sh' >/apps/data/test.txt + if ! ps -ef | grep lotso | grep -v $$ >/dev/null; then + cd /apps/data && ./lotso run --enableShareplan --appID 500077 --deviceSN UMIXYC4D2E1C9XBHHMC + fi } __main