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/2001-7d02 | |
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/2001-7d02')
-rw-r--r-- | package/network/utils/wwan/files/data/2001-7d02 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/utils/wwan/files/data/2001-7d02 b/package/network/utils/wwan/files/data/2001-7d02 index ab8fd9ded7..9f039b12c0 100644 --- a/package/network/utils/wwan/files/data/2001-7d02 +++ b/package/network/utils/wwan/files/data/2001-7d02 @@ -2,4 +2,4 @@ "desc": "D-Link DWM-156 A7", "control": 1, "data": 0 -}} +} |