update 2026-05-10 09:48:30

This commit is contained in:
action committed 2026-05-10 09:48:30 +08:00
1 parent 95ac96413e
commit 0b362674f1
6244 files changed
+2992248

No files matched your search

@@ -0,0 +1,2 @@
config verysync 'config'
+17
View File
@@ -0,0 +1,17 @@
#!/bin/sh /etc/rc.common
START=99
STOP=10
start() {
local enabled="$(uci get verysync.config.enabled)"
local port="$(uci get verysync.config.port)"
stop
[ "${enabled}" == "1" ] || exit 0
export HOME="/root/"
verysync -gui-address="0.0.0.0:${port}" -logfile="/var/log/verysync.log" -home="/etc/verysync/" -no-browser >/dev/null 2>&1 &
}
stop() {
kill -9 `pgrep verysync` >/dev/null 2>&1
}
@@ -0,0 +1,11 @@
#!/bin/sh
uci -q batch <<-EOF >/dev/null
delete ucitrack.@verysync[-1]
add ucitrack verysync
set ucitrack.@verysync[-1].init=verysync
commit ucitrack
EOF
rm -rf /tmp/luci-*cache
exit 0
@@ -0,0 +1,11 @@
{
"luci-app-verysync": {
"description": "Grant UCI access for luci-app-verysync",
"read": {
"uci": [ "verysync" ]
},
"write": {
"uci": [ "verysync" ]
}
}
}
@@ -0,0 +1,4 @@
{
"config": "verysync",
"init": "verysync"
}