diff options
author | Alexandru Ardelean <ardeleanalex@gmail.com> | 2017-09-04 16:16:00 +0300 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-12-13 16:32:39 +0100 |
commit | 2f80d846389790b2e47ea156094f90131de26104 (patch) | |
tree | c81b405cfec9ecaf0f6574ffb57fe1d3c75254d1 /package/network/utils/wwan/files/data/0af0-6901 | |
parent | c61cf4a447e8f3396fa56fdc353d9ef34abcaf6b (diff) | |
download | upstream-2f80d846389790b2e47ea156094f90131de26104.tar.gz upstream-2f80d846389790b2e47ea156094f90131de26104.tar.bz2 upstream-2f80d846389790b2e47ea156094f90131de26104.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>
(cherry picked from commit ad510c4d62fd6dd879a02cb2253eb37c2179d9c0)
Diffstat (limited to 'package/network/utils/wwan/files/data/0af0-6901')
-rw-r--r-- | package/network/utils/wwan/files/data/0af0-6901 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/utils/wwan/files/data/0af0-6901 b/package/network/utils/wwan/files/data/0af0-6901 index 06b26643de..a88c36dda1 100644 --- a/package/network/utils/wwan/files/data/0af0-6901 +++ b/package/network/utils/wwan/files/data/0af0-6901 @@ -2,4 +2,4 @@ "desc": "Option GI0201", "control": 1, "data": 0 -}} +} |