mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-01 16:44:23 +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
@@ -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