mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-15 18:03:30 +00:00
fix ssr pro /usr/bin/ip path
This commit is contained in:
parent
024d5d919e
commit
da7a33adc4
@ -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_PKGARCH:=all
|
||||
PKG_VERSION:=2.0
|
||||
PKG_RELEASE:=15
|
||||
PKG_RELEASE:=16
|
||||
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
|
@ -9,6 +9,9 @@ uci -q batch <<-EOF >/dev/null
|
||||
commit firewall
|
||||
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 disable
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user