Skip to content

Commit

Permalink
fix ssr pro /usr/bin/ip path
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsnowwolf committed Sep 9, 2017
1 parent 024d5d9 commit da7a33a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package/lean/luci-app-shadowsocksr-pro/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit da7a33a

Please sign in to comment.