forked from Ivasoft/openwrt
wwan: json format in some modem definitions
Method used: ``` cd package/network/utils/wwan/files/data sed -e 's/}}/}/g' -i * sed -e 's/}\t"acm": 1/\t"acm": 1/g' -i * sed -e 's/}\t"generic": 1/\t"generic": 1/g' -i * ``` Manually adjusted commas. Validated with ``` for f in `ls` ; do echo $f ; python -m json.tool < $f || break ; done ``` Thanks to @lynxis for pointing out the commas. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
committed by
Hauke Mehrtens
parent
ed617fd8f2
commit
ad510c4d62
@@ -2,4 +2,4 @@
|
||||
"desc": "ZTE MF627",
|
||||
"control": 0,
|
||||
"data": 2
|
||||
}}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user