From 1109b66598dfeef86853e8c3edab62827b0d796c Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Mon, 24 Sep 2018 12:38:25 +0800 Subject: [PATCH] change ssr pro work with ss --- package/lean/luci-app-ssr-pro/Makefile | 4 ++-- package/lean/luci-app-ssr-pro/root/etc/uci-defaults/ssrpro | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package/lean/luci-app-ssr-pro/Makefile b/package/lean/luci-app-ssr-pro/Makefile index 4d46ed57f1..5251ed1b30 100644 --- a/package/lean/luci-app-ssr-pro/Makefile +++ b/package/lean/luci-app-ssr-pro/Makefile @@ -6,10 +6,10 @@ include $(TOPDIR)/rules.mk LUCI_TITLE:=LuCI support for SSR Pro -LUCI_DEPENDS:=+iptables-mod-tproxy +kmod-ipt-tproxy +ip +ipset-lists +shadowsocksr-libev-alt +shadowsocks-libev-ss-redir +pdnsd-alt +coreutils +coreutils-base64 +coreutils-nohup +dnsmasq-full +LUCI_DEPENDS:=+iptables-mod-tproxy +kmod-ipt-tproxy +ip +ipset-lists +shadowsocksr-libev-alt +shadowsocks-libev +pdnsd-alt +coreutils +coreutils-base64 +coreutils-nohup +dnsmasq-full LUCI_PKGARCH:=all PKG_VERSION:=2 -PKG_RELEASE:=28 +PKG_RELEASE:=29 include $(TOPDIR)/feeds/luci/luci.mk diff --git a/package/lean/luci-app-ssr-pro/root/etc/uci-defaults/ssrpro b/package/lean/luci-app-ssr-pro/root/etc/uci-defaults/ssrpro index 8aa2c71cc1..fdfbe92c2c 100755 --- a/package/lean/luci-app-ssr-pro/root/etc/uci-defaults/ssrpro +++ b/package/lean/luci-app-ssr-pro/root/etc/uci-defaults/ssrpro @@ -13,6 +13,8 @@ uci -q batch <<-EOF >/dev/null commit firewall EOF +/etc/init.d/shadowsocks-libev stop +/etc/init.d/shadowsocks-libev disable /etc/init.d/ssrpro stop /etc/init.d/ssrpro enable