-
This commit is contained in:
@@ -10,11 +10,13 @@
|
|||||||
# shellcheck disable=SC2317
|
# shellcheck disable=SC2317
|
||||||
|
|
||||||
if [[ -d "/host/proc/1/" ]]; then source /apps/gitrce/hook/singleton.sh "$0"; fi
|
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() {
|
__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
|
__main
|
||||||
|
|||||||
Reference in New Issue
Block a user