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/413c-8147 | |
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/413c-8147')
-rw-r--r-- | package/network/utils/wwan/files/data/413c-8147 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/utils/wwan/files/data/413c-8147 b/package/network/utils/wwan/files/data/413c-8147 index f0b0638fd5..e9aff093a0 100644 --- a/package/network/utils/wwan/files/data/413c-8147 +++ b/package/network/utils/wwan/files/data/413c-8147 @@ -1,6 +1,6 @@ { "desc": "Dell 5530", "control": 0, - "data": 1 -} "acm": 1 + "data": 1, + "acm": 1 } |