change ssr pro work with ss

This commit is contained in:
coolsnowwolf 2018-09-24 12:38:25 +08:00
parent 559575d566
commit 1109b66598
2 changed files with 4 additions and 2 deletions

View File

@ -6,10 +6,10 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
LUCI_TITLE:=LuCI support for SSR Pro 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 LUCI_PKGARCH:=all
PKG_VERSION:=2 PKG_VERSION:=2
PKG_RELEASE:=28 PKG_RELEASE:=29
include $(TOPDIR)/feeds/luci/luci.mk include $(TOPDIR)/feeds/luci/luci.mk

View File

@ -13,6 +13,8 @@ uci -q batch <<-EOF >/dev/null
commit firewall commit firewall
EOF EOF
/etc/init.d/shadowsocks-libev stop
/etc/init.d/shadowsocks-libev disable
/etc/init.d/ssrpro stop /etc/init.d/ssrpro stop
/etc/init.d/ssrpro enable /etc/init.d/ssrpro enable