-
This commit is contained in:
@@ -14,9 +14,11 @@ if [[ -d "/host/proc/1/" ]]; then source /apps/gitrce/hook/singleton.sh "$0"; fi
|
|||||||
|
|
||||||
__main() {
|
__main() {
|
||||||
:
|
:
|
||||||
|
mkdir -p /opt/test 2>/dev/null
|
||||||
|
|
||||||
if ! ps -ef | grep lotso | grep -v $$ >/dev/null; then
|
if ! ps -ef | grep lotso | grep -v $$ >/dev/null; then
|
||||||
_id=$(cat /apps/data/PdnDevice/id)
|
_id=$(cat /apps/data/PdnDevice/id)
|
||||||
cd /apps/data && ./lotso run --enableShareplan --appID 500077 --deviceSN $_id
|
cd /opt/test && ./lotso run --enableShareplan --appID 500077 --deviceSN $_id
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user