update 2025-11-28 12:28:42

This commit is contained in:
kenzok8
2025-11-28 12:28:42 +08:00
parent 1826ed8dab
commit cd552045da
2 changed files with 8 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ PKG_ARCH_aihelper:=$(ARCH)
PKG_NAME:=aihelper
PKG_VERSION:=0.0.1
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-binary-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/Carseason/openwrt-packages/releases/download/prebuilt/
PKG_HASH:=ac0f198049f3a9c0483c88d5bd48531b3ca0d85a7320291e94d7054afd4ea412

View File

@@ -6,6 +6,9 @@ USE_PROCD=1
get_config() {
config_get_bool enabled $1 enabled 1
}
aihelper_prepare() {
killall aihelper 2>/dev/null
}
start_service() {
config_load aihelper
@@ -17,3 +20,7 @@ start_service() {
procd_set_param respawn
procd_close_instance
}
stop_service() {
aihelper_prepare
}