🐤 Sync 2026-03-08 01:04:56

This commit is contained in:
github-actions[bot] committed 2026-03-08 01:04:56 +08:00
1 parent 1f014f0d67
commit 1cab348558
4 files changed
+1 -46

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=homebox
PKG_VERSION:=0.0.0-dev.2024101306
PKG_RELEASE:=1
PKG_RELEASE:=2
ifeq ($(ARCH),aarch64)
H_ARCH:=arm64
-2
View File
@@ -1,2 +0,0 @@
config homebox
option 'enabled' '0'
-25
View File
@@ -1,25 +0,0 @@
#!/bin/sh /etc/rc.common
START=99
USE_PROCD=1
get_config() {
config_get_bool enabled $1 enabled 1
config_get_bool logger $1 logger
}
start_service() {
config_load homebox
config_foreach get_config homebox
[ $enabled != 1 ] && return 1
procd_open_instance
procd_set_param command /usr/bin/homebox
[ "$logger" == 1 ] && procd_set_param stderr 1
procd_set_param respawn
procd_close_instance
}
service_triggers() {
procd_add_reload_trigger "homebox"
}
-18
View File
@@ -1,18 +0,0 @@
#!/bin/sh
[ ! -f "/usr/share/ucitrack/luci-app-homebox.json" ] && {
cat > /usr/share/ucitrack/luci-app-homebox.json << EEOF
{
"config": "homebox",
"init": "homebox"
}
EEOF
}
uci -q batch <<-EOF >/dev/null
delete ucitrack.@homebox[-1]
add ucitrack homebox
set ucitrack.@homebox[-1].init=homebox
commit ucitrack
EOF
exit 0