From 2c9dd0b4398434e09550fc1f990a497b8a9d2ff7 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 29 Oct 2022 01:08:52 +0200 Subject: [PATCH] - neutrino-plugins: add initfb init script handling --- package/neutrino-plugins/neutrino-plugins.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/neutrino-plugins/neutrino-plugins.mk b/package/neutrino-plugins/neutrino-plugins.mk index 4554c12a..72911108 100644 --- a/package/neutrino-plugins/neutrino-plugins.mk +++ b/package/neutrino-plugins/neutrino-plugins.mk @@ -99,6 +99,7 @@ NEUTRINO_PLUGINS_INIT_SCRIPTS_DEFAULTS += tuxcald NEUTRINO_PLUGINS_INIT_SCRIPTS_DEFAULTS += tuxmaild NEUTRINO_PLUGINS_INIT_SCRIPTS = $(NEUTRINO_PLUGINS_INIT_SCRIPTS_DEFAULTS) +NEUTRINO_PLUGINS_INIT_SCRIPTS += initfb NEUTRINO_PLUGINS_INIT_SCRIPTS += turnoff_power define NEUTRINO_PLUGINS_RUNLEVEL_LINKS_INSTALL @@ -107,6 +108,9 @@ define NEUTRINO_PLUGINS_RUNLEVEL_LINKS_INSTALL $(UPDATE-RC.D) $$script defaults 80 20; \ fi; \ done + if [ -x $(TARGET_sysconfdir)/init.d/initfb ]; then \ + $(UPDATE-RC.D) initfb start 06 S .; \ + fi if [ -x $(TARGET_sysconfdir)/init.d/turnoff_power ]; then \ $(UPDATE-RC.D) turnoff_power start 99 0 .; \ fi