mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix get obfs setting from server
This commit is contained in:
parent
df10ac4679
commit
36d4c8efa4
1 changed files with 5 additions and 0 deletions
|
@ -579,6 +579,11 @@ _set_config_from_vps() {
|
|||
ss_no_delay="$(echo "$vps_config" | jsonfilter -q -e '@.shadowsocks.no_delay')"
|
||||
ss_fast_open="$(echo "$vps_config" | jsonfilter -q -e '@.shadowsocks.fast_open')"
|
||||
ss_obfs="$(echo "$vps_config" | jsonfilter -q -e '@.shadowsocks.obfs')"
|
||||
if [ "$ss_obfs" = "true" ]; then
|
||||
ss_obfs=1
|
||||
else
|
||||
ss_obfs=0
|
||||
fi
|
||||
ss_obfs_plugin="$(echo "$vps_config" | jsonfilter -q -e '@.shadowsocks.obfs_plugin')"
|
||||
ss_obfs_type="$(echo "$vps_config" | jsonfilter -q -e '@.shadowsocks.obfs_type')"
|
||||
ss_obfs_host="$(echo "$vps_config" | jsonfilter -q -e '@.network.domain')"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue