1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2024-11-26 14:31:17 +01:00
parent 4a4ab3d746
commit ec9e8905b5

View file

@ -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