mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-02 23:23:56 +08:00
update 2026-10-29 11:59:06
This commit is contained in:
1 parent
bc85557d34
commit
e2f86e09f4
5033 files changed
-2043160
No files matched your search
@@ -1,2 +0,0 @@
|
||||
|
||||
config verysync 'config'
|
||||
@@ -1,17 +0,0 @@
|
||||
#!/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
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"luci-app-verysync": {
|
||||
"description": "Grant UCI access for luci-app-verysync",
|
||||
"read": {
|
||||
"uci": [ "verysync" ]
|
||||
},
|
||||
"write": {
|
||||
"uci": [ "verysync" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"config": "verysync",
|
||||
"init": "verysync"
|
||||
}
|
||||
Reference in new issue
Block a user