diff --git a/package/lean/luci-app-ssr-plus/Makefile b/package/lean/luci-app-ssr-plus/Makefile index 7d5ee0882..f68a40250 100644 --- a/package/lean/luci-app-ssr-plus/Makefile +++ b/package/lean/luci-app-ssr-plus/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-ssr-plus PKG_VERSION:=170 -PKG_RELEASE:=3 +PKG_RELEASE:=5 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) diff --git a/package/lean/luci-app-ssr-plus/root/etc/init.d/shadowsocksr b/package/lean/luci-app-ssr-plus/root/etc/init.d/shadowsocksr index 1b0f7f864..873a78981 100755 --- a/package/lean/luci-app-ssr-plus/root/etc/init.d/shadowsocksr +++ b/package/lean/luci-app-ssr-plus/root/etc/init.d/shadowsocksr @@ -223,7 +223,7 @@ start_rules() { else proxyport="-m multiport --dports 22,53,587,465,995,993,143,80,443" fi - if [ "$NETFLIX_SERVER" != "same" ]; then + if [ "$NETFLIX_SERVER" != "$GLOBAL_SERVER" ]; then netflix="1" else netflix="0" @@ -398,7 +398,7 @@ start_redir() { echo "$(date "+%Y-%m-%d %H:%M:%S") Network Tunnel REDIRECT $threads Threads Started!" >>/tmp/ssrplus.log fi - if [ "$NETFLIX_SERVER" != "same" ]; then + if [ "$NETFLIX_SERVER" != "$GLOBAL_SERVER" ]; then if [ "$ntype" == "ss" -o "$ntype" == "ssr" ]; then gen_config_file $NETFLIX_SERVER 2 4321 gen_config_file $NETFLIX_SERVER 3 1088 @@ -630,7 +630,7 @@ start() { fi /usr/share/shadowsocksr/gfw2ipset.sh - if [ "$NETFLIX_SERVER" != "same" ]; then + if [ "$NETFLIX_SERVER" != "$GLOBAL_SERVER" ]; then cat /etc/config/netflix.list | while read line || [ -n "$line" ]; do sed -i "/$line/d" /tmp/dnsmasq.ssr/gfw_list.conf