1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-03-09 15:50:00 +00:00

Update OMR admin, omr-service and shadowsocks-go

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-10-23 06:11:05 +00:00
parent 455f3c86d8
commit 3b4f875051
2 changed files with 4 additions and 4 deletions

View file

@ -124,7 +124,7 @@ _omr_api() {
}
_lan_route() {
cat /etc/openmptcprouter-vps-admin/omr-admin-config.json | jq -c '.users[0][]?' |
jq -c '.users[0][]?' /etc/openmptcprouter-vps-admin/omr-admin-config.json |
while IFS=$"\n" read -r c; do
if [ -n "$c" ]; then
vpnremoteip=$(echo "$c" | jq -r '.vpnremoteip')