diff options
author | Alexandru Ardelean <ardeleanalex@gmail.com> | 2017-09-04 16:16:00 +0300 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2017-09-16 23:04:46 +0200 |
commit | ad510c4d62fd6dd879a02cb2253eb37c2179d9c0 (patch) | |
tree | 3cda2e622d5a55f1de9e511ac2d4583cef7fe226 /package/network/utils/wwan/files/data/1e0e-ce16 | |
parent | ed617fd8f2f39e18ad435883db5b4100e6f7f977 (diff) | |
download | upstream-ad510c4d62fd6dd879a02cb2253eb37c2179d9c0.tar.gz upstream-ad510c4d62fd6dd879a02cb2253eb37c2179d9c0.tar.bz2 upstream-ad510c4d62fd6dd879a02cb2253eb37c2179d9c0.zip |
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>
Diffstat (limited to 'package/network/utils/wwan/files/data/1e0e-ce16')
-rw-r--r-- | package/network/utils/wwan/files/data/1e0e-ce16 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/utils/wwan/files/data/1e0e-ce16 b/package/network/utils/wwan/files/data/1e0e-ce16 index 93e0c3fa13..d9088e97c9 100644 --- a/package/network/utils/wwan/files/data/1e0e-ce16 +++ b/package/network/utils/wwan/files/data/1e0e-ce16 @@ -2,4 +2,4 @@ "desc": "D-Link DWM-162-U5, Micromax MMX 300c", "control": 1, "data": 0 -}} +} |