update 2026-05-13 01:55:45

This commit is contained in:
action committed 2026-05-13 01:55:45 +08:00
1 parent 1b6001bfed
commit 6f4a0231c5
1857 files changed
+749084 -99

No files matched your search

+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
}