From bb7b2592c63edecfec2f9d2cf2b062bcacec8c9c Mon Sep 17 00:00:00 2001 From: Mark Cilissen Date: Wed, 12 Apr 2023 15:28:03 +0200 Subject: [PATCH] busybox: add command_args_foreground to syslogd scripts This allows them to be correctly ran under a supervisor, such as `supervise-daemon`. --- recipes-appends/oe-core/busybox/busybox-klogd.initd | 1 + recipes-appends/oe-core/busybox/busybox-syslogd.initd | 1 + 2 files changed, 2 insertions(+) diff --git a/recipes-appends/oe-core/busybox/busybox-klogd.initd b/recipes-appends/oe-core/busybox/busybox-klogd.initd index 77a2339..d243c97 100644 --- a/recipes-appends/oe-core/busybox/busybox-klogd.initd +++ b/recipes-appends/oe-core/busybox/busybox-klogd.initd @@ -8,6 +8,7 @@ depend() { } command_args="${COMMAND_ARGS}" +command_args_foreground="-n" description="busybox kernel logger" command="/sbin/klogd" diff --git a/recipes-appends/oe-core/busybox/busybox-syslogd.initd b/recipes-appends/oe-core/busybox/busybox-syslogd.initd index 3610df8..c885c9e 100644 --- a/recipes-appends/oe-core/busybox/busybox-syslogd.initd +++ b/recipes-appends/oe-core/busybox/busybox-syslogd.initd @@ -8,6 +8,7 @@ depend() { } command_args="${COMMAND_ARGS}" +command_args_foreground="-n" description="busybox system logger" command="/sbin/syslogd"