⛅ Sync 2026-10-06 21:11:19

This commit is contained in:
github-actions[bot] committed 2026-10-06 21:11:19 +08:00
1 parent fa160a7a5e
commit bcd6b07350
430 files changed
+1035 -48585

No files matched your search

+3 -6
View File
@@ -1,20 +1,17 @@
#!/bin/sh /etc/rc.common
START=50
START=99
STOP=10
VERYSYNC="/usr/bin/verysync"
start() {
local enabled="$(uci get verysync.config.enabled)"
local port="$(uci get verysync.config.port)"
local profile="$(uci get verysync.config.profile)"
stop
[ "${enabled}" == "1" ] || exit 0
export HOME="/root/"
"${VERYSYNC}" -gui-address="0.0.0.0:${port}" -logfile="/var/log/verysync.log" -home="${profile}" -no-browser >/dev/null 2>&1 &
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
kill -9 `pgrep verysync` >/dev/null 2>&1
}