mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Update w/ Adguard VPN
This commit is contained in:
parent
0e39896f3d
commit
4bba3384e4
@ -50,6 +50,25 @@
|
|||||||
"pattern": "(\\w+)\\s+",
|
"pattern": "(\\w+)\\s+",
|
||||||
"replace": "$1,$1\\n"
|
"replace": "$1,$1\\n"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 4,
|
||||||
|
"name": "AdGuard VPN",
|
||||||
|
"bin_path": "/usr/local/bin/adguardvpn-cli",
|
||||||
|
"install_page": "https://adguard-vpn.com/kb/adguard-vpn-for-linux/installation/",
|
||||||
|
"account_page": "https://my.adguard-vpn.com/en/account/product/vpn",
|
||||||
|
"cmd_overrides": {
|
||||||
|
"account": "account get",
|
||||||
|
"countries": "list-locations",
|
||||||
|
"log": "status",
|
||||||
|
"version": "--version"
|
||||||
|
},
|
||||||
|
"regex": {
|
||||||
|
"status": "\/VPN is disconnected\/",
|
||||||
|
"pattern": "/^([A-Z]{2})\\s+.*?\\s([A-Za-z]+(?:\\s[A-Za-z]+)?)\\s+\\d+$/m",
|
||||||
|
"replace": "$2",
|
||||||
|
"slice": 3
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user