mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 18:41:51 +00:00
Enable shadowsocks by default
This commit is contained in:
parent
65edbf1af2
commit
887bad066b
2 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,7 @@ config ss_rules 'ss_rules'
|
|||
option local_default 'forward'
|
||||
|
||||
config server 'sss0'
|
||||
option disabled 1
|
||||
option disabled 0
|
||||
option server '192.168.1.3'
|
||||
option server_port '65101'
|
||||
option key ''
|
||||
|
|
|
@ -34,6 +34,7 @@ ss_mkjson_server_conf_() {
|
|||
json_add_string key "$key"
|
||||
}
|
||||
[ -z "$password" ] || json_add_string password "$password"
|
||||
[ -z "$password" ] && [ -z "$key" ] && return 1
|
||||
[ -z "$plugin" ] || json_add_string plugin "$plugin"
|
||||
[ -z "$plugin_opts" ] || json_add_string plugin_opts "$plugin_opts"
|
||||
if [ "$obfs" = 1 ]; then
|
||||
|
|
Loading…
Reference in a new issue