mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 10:31:51 +00:00
Fix: use ssserver binary for server on Shadowsocks-Rust
This commit is contained in:
parent
4a4ab3d746
commit
ec9e8905b5
1 changed files with 5 additions and 1 deletions
|
@ -70,7 +70,11 @@ ss_xxx() {
|
|||
local cfg="$1"
|
||||
local cfgtype="$2"
|
||||
# local bin="$ss_bindir/${cfgtype/_/-}"
|
||||
local bin="$ss_bindir/sslocal"
|
||||
if [ "$cfgtype" = "ss_server" ]; then
|
||||
local bin="$ss_bindir/ssserver"
|
||||
else
|
||||
local bin="$ss_bindir/sslocal"
|
||||
fi
|
||||
local confjson="$ss_confdir/$cfgtype.$cfg.json"
|
||||
|
||||
[ -x "$bin" ] || return
|
||||
|
|
Loading…
Reference in a new issue