mirror of
https://github.com/kenzok8/small-package.git
synced 2026-02-04 13:57:45 +08:00
update 2025-11-28 12:28:42
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user