This commit is contained in:
Wang Sen Di
2025-11-23 16:08:28 +08:00
parent 6ba67a8d85
commit 6182e879d6

View File

@@ -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