提交 da7a33ad 编写于 作者: C coolsnowwolf

fix ssr pro /usr/bin/ip path

上级 024d5d91
...@@ -9,7 +9,7 @@ LUCI_TITLE:=LuCI support for Shadowsocksr ...@@ -9,7 +9,7 @@ LUCI_TITLE:=LuCI support for Shadowsocksr
LUCI_DEPENDS:=+iptables-mod-tproxy +kmod-ipt-tproxy +ip +ipset-lists +shadowsocksr-libev-alt +pdnsd-alt +coreutils +coreutils-base64 +coreutils-nohup +dnsmasq-full LUCI_DEPENDS:=+iptables-mod-tproxy +kmod-ipt-tproxy +ip +ipset-lists +shadowsocksr-libev-alt +pdnsd-alt +coreutils +coreutils-base64 +coreutils-nohup +dnsmasq-full
LUCI_PKGARCH:=all LUCI_PKGARCH:=all
PKG_VERSION:=2.0 PKG_VERSION:=2.0
PKG_RELEASE:=15 PKG_RELEASE:=16
include $(TOPDIR)/feeds/luci/luci.mk include $(TOPDIR)/feeds/luci/luci.mk
......
...@@ -9,6 +9,9 @@ uci -q batch <<-EOF >/dev/null ...@@ -9,6 +9,9 @@ uci -q batch <<-EOF >/dev/null
commit firewall commit firewall
EOF EOF
[ ! -f /usr/bin/ip ] && ln -sf /sbin/ip /usr/bin/ip
(opkg list-installed | grep ip-full >/dev/null 2>&1) && ln -sf /usr/sbin/ip /usr/bin/ip
/etc/init.d/shadowsocksr stop /etc/init.d/shadowsocksr stop
/etc/init.d/shadowsocksr disable /etc/init.d/shadowsocksr disable
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册