-
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user