mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix v2ray config
This commit is contained in:
parent
80b6ab2c4f
commit
eefd3ac89a
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ -z "$(uci -q get v2ray.main2)" ]; then
|
||||
if [ -z "$(uci -q get v2ray.main)" ]; then
|
||||
touch /etc/config/v2ray
|
||||
uci batch <<-EOF
|
||||
set v2ray.main=v2ray
|
||||
|
@ -81,5 +81,7 @@ if [ -z "$(uci -q get v2ray.main2)" ]; then
|
|||
commit v2ray
|
||||
EOF
|
||||
fi
|
||||
uci -q set v2ray.omr.listen='::'
|
||||
|
||||
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue