Browse Source

Merge pull request #11494 from fantom-x/irqbalance-2

irqbalance: support reload_config & start later
lilik-openwrt-22.03
Hannu Nyman 5 years ago
committed by GitHub
parent
commit
cfbff483af
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions
  1. +1
    -1
      utils/irqbalance/Makefile
  2. +8
    -2
      utils/irqbalance/files/irqbalance.init

+ 1
- 1
utils/irqbalance/Makefile View File

@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=irqbalance PKG_NAME:=irqbalance
PKG_VERSION:=1.6.0 PKG_VERSION:=1.6.0
PKG_RELEASE:=6
PKG_RELEASE:=7
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git


+ 8
- 2
utils/irqbalance/files/irqbalance.init View File

@ -1,8 +1,15 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
START=11
START=90
STOP=10
USE_PROCD=1 USE_PROCD=1
service_triggers()
{
procd_add_reload_trigger "irqbalance"
}
start_service() { start_service() {
local enabled local enabled
config_load 'irqbalance' config_load 'irqbalance'
@ -25,4 +32,3 @@ start_service() {
procd_set_param respawn procd_set_param respawn
procd_close_instance procd_close_instance
} }

Loading…
Cancel
Save