From b6078559cdd47b4def5bb44dd46759a8591f3e4f Mon Sep 17 00:00:00 2001 From: Marc Benoit Date: Tue, 3 Mar 2020 07:48:27 -0500 Subject: irqbalance: support reload_config & start later Added support for reload_config This service does not need to start so early (even before the netwrok is up). Start it after the device is mostly up and operational. Compile-tested on: ipq806x Runtime-tested on: ipq806x Signed-off-by: Marc Benoit --- utils/irqbalance/files/irqbalance.init | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'utils/irqbalance/files/irqbalance.init') diff --git a/utils/irqbalance/files/irqbalance.init b/utils/irqbalance/files/irqbalance.init index 3f968d075..638dcb39f 100644 --- a/utils/irqbalance/files/irqbalance.init +++ b/utils/irqbalance/files/irqbalance.init @@ -1,8 +1,15 @@ #!/bin/sh /etc/rc.common -START=11 +START=90 +STOP=10 + USE_PROCD=1 +service_triggers() +{ + procd_add_reload_trigger "irqbalance" +} + start_service() { local enabled config_load 'irqbalance' @@ -25,4 +32,3 @@ start_service() { procd_set_param respawn procd_close_instance } - -- cgit v1.2.3