IGD3000系列(一体屏)网关的app和文件系统的打包目录
朱浩东
2025-06-14 58d2e329d04aaf39b0ed00308de62bff47fa8ce8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
# 查询-串口设备
export PATH=/sbin:/usr/sbin:$PATH
echo -en "Content-type: text/html; charset=utf-8\n\n"
#*****************************************************
source ../bin/env.sh
db="../bin/db"
jsoner="../bin/jsoner"
 
read data
 
uploadTime=`$jsoner $data uploadTime`
 
storeTime=`$jsoner $data storeTime`
 
alarmStoreTime=`$jsoner $data alarmStoreTime`
 
operationTime=`$jsoner $data operationTime`
 
jsoner -s /work/config.json common.uploadTime $uploadTime
jsoner -s /work/config.json common.storeTime $storeTime
jsoner -s /work/config.json common.alarmStoreTime $alarmStoreTime
jsoner -s /work/config.json common.operationTime $operationTime
 
echo "{\"code\":\"success\"}"