Thanks to visit codestin.com
Credit goes to github.com

Skip to content

luci-app-ssr-plus: OpenWrt SNAPSHOT compatibility#4154

Merged
coolsnowwolf merged 2 commits into
coolsnowwolf:masterfrom
dongjuanyong:patch-1
Apr 8, 2020
Merged

luci-app-ssr-plus: OpenWrt SNAPSHOT compatibility#4154
coolsnowwolf merged 2 commits into
coolsnowwolf:masterfrom
dongjuanyong:patch-1

Conversation

@dongjuanyong

Copy link
Copy Markdown
Contributor

Fix #4143

Q:你知道这是pull request吗?(使用 "x" 选择)

  • 我知道

@tty228

tty228 commented Apr 3, 2020

Copy link
Copy Markdown
Contributor

#3758

另外 luci19 需要修改 ssrurl.htm 以兼容节点导入
把这两行加入 default-settings 就行了
sed -i 's/local ucic = uci.cursor()/local ucic = luci.model.uci.cursor()/g' /usr/share/shadowsocksr/subscribe.lua
sed -i "s/'cbid.shadowsocksr.'/'widget.cbid.shadowsocksr.'/g" /usr/lib/lua/luci/view/shadowsocksr/ssrurl.htm

@dongjuanyong

Copy link
Copy Markdown
Contributor Author

subscribe.lua的修改应该对lede没什么影响,ssrurl.htm就不知道了

Luci modification for OpenWrt 19.07 or higher
@dongjuanyong

Copy link
Copy Markdown
Contributor Author

改用getElementsByName,checkbox也没问题了,lede应该也OK,虽然没试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

移植SSR plus到原版OpenWrt SNAPSHOT r12787下的问题

3 participants