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

Fix save xray config in openmptcprouter-vps

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-01-11 18:31:51 +01:00
parent 84419a272e
commit 354157bbb0

View file

@ -1704,7 +1704,7 @@ _set_config_from_vps() {
uci -q set xray.omrout.s_socks_address="$vpsip"
uci -q set xray.omrout.s_shadowsocks_address="$vpsip"
fi
uci -q commit v2ray
uci -q commit xray
logger -t "OMR-VPS" "Xray restart..."
/etc/init.d/xray restart >/dev/null 2>&1
fi