mirror of
https://github.com/YunoHost-Apps/adguardhome_ynh.git
synced 2024-09-03 18:06:23 +02:00
refactor
This commit is contained in:
parent
2ebd81db62
commit
2d5c1eac45
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ It should look like the list in the previous section.
|
|||
You can use the following command to automatically give you a ready-to-use list:
|
||||
|
||||
```bash
|
||||
AS="$(curl -sL ip.guide | jq -s --indent 1 ".[].network.autonomous_system.asn")" | curl -sL ip.guide/AS"$AS" | jq -s --indent 1 ".[].routes" |
|
||||
curl -sL ip.guide/AS"$(curl -sL ip.guide | jq -s --indent 1 ".[].network.autonomous_system.asn")" | jq -s --indent 1 ".[].routes" |
|
||||
sed "/\[/d;/{/d;/]/d;/}/d;s/ \"//;s/\",//;s/\"//"
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue