Browse Source

Merge pull request #430 from 1715173329/local

luci-app-ssr-plus: fix typo err of binname
coolsnowwolf 4 years ago
parent
commit
95c8b5f5ac
2 changed files with 2 additions and 2 deletions
  1. 1 1
      luci-app-ssr-plus/Makefile
  2. 1 1
      luci-app-ssr-plus/root/etc/init.d/shadowsocksr

+ 1 - 1
luci-app-ssr-plus/Makefile

@@ -17,7 +17,7 @@ config PACKAGE_$(PKG_NAME)_INCLUDE_Shadowsocks
 config PACKAGE_$(PKG_NAME)_INCLUDE_Shadowsocks_Rust
 	bool "Include Shadowsocks Rust (AEAD ciphers only)"
 	depends on aarch64||arm||i386||mips||mipsel||x86_64
-	default y if x86_64||aarch64
+	default y if aarch64
 
 config PACKAGE_$(PKG_NAME)_INCLUDE_V2ray_plugin
 	bool "Include Shadowsocks V2ray Plugin"

+ 1 - 1
luci-app-ssr-plus/root/etc/init.d/shadowsocksr

@@ -470,7 +470,7 @@ start_local() {
 	case "$type" in
 	ss | ssr)
 		gen_config_file $LOCAL_SERVER $type 4 $local_port
-		ss_program="$(first_type ${type}local ${type}-redir)"
+		ss_program="$(first_type ${type}local ${type}-local)"
 		[ "$(printf '%s' "$ss_program" | awk -F '/' '{print $NF}')" = "${type}local" ] && \
 			ss_extra_arg="-U" || ss_extra_arg="-u"
 		ln_start_bin $ss_program ${type}-local -c $local_config_file $ss_extra_arg