mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-03 10:23:56 +08:00
⛄ Sync 2026-06-05 00:18:49
This commit is contained in:
1 parent
8dd2004899
commit
3b242cdbee
11 files changed
+98
-65
No files matched your search
@@ -4,7 +4,7 @@ LUCI_TITLE:=luci-app-ssr-plus
|
||||
LUCI_PKGARCH:=all
|
||||
PKG_NAME:=luci-app-ssr-plus
|
||||
PKG_VERSION:=193
|
||||
PKG_RELEASE:=20
|
||||
PKG_RELEASE:=22
|
||||
|
||||
PKG_CONFIG_DEPENDS:= \
|
||||
CONFIG_PACKAGE_$(PKG_NAME)_Iptables_Transparent_Proxy \
|
||||
|
||||
@@ -37,12 +37,6 @@ touch /etc/ssrplus/ad.conf
|
||||
touch /etc/config/shadowsocksr
|
||||
|
||||
if [ -s "/etc/config/shadowsocksr" ]; then
|
||||
if ! uci -q get shadowsocksr.@server_subscribe_item[0] > /dev/null; then
|
||||
sid_output="$(uci add shadowsocksr server_subscribe_item)"
|
||||
uci -q set shadowsocksr.$sid_output.enabled=1
|
||||
uci -q set shadowsocksr.$sid_output.alias="Subscribe default"
|
||||
fi
|
||||
|
||||
if uci -q get shadowsocksr.@server_subscribe[0].auto_update_time > /dev/null; then
|
||||
uci -q delete shadowsocksr.@server_subscribe[0].auto_update_time
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user