From ad510c4d62fd6dd879a02cb2253eb37c2179d9c0 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Mon, 4 Sep 2017 16:16:00 +0300 Subject: 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 --- package/network/utils/wwan/files/data/1410-1430 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/network/utils/wwan/files/data/1410-1430') diff --git a/package/network/utils/wwan/files/data/1410-1430 b/package/network/utils/wwan/files/data/1410-1430 index 012f3ad9f9..275d3a70cb 100644 --- a/package/network/utils/wwan/files/data/1410-1430 +++ b/package/network/utils/wwan/files/data/1410-1430 @@ -2,4 +2,4 @@ "desc": "Novatel XU870", "control": 1, "data": 0 -}} +} -- cgit v1.2.3