]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
busybox: Set PATH in syslog initscript
authorMartijn de Gouw <martijn.de.gouw@prodrive-technologies.com>
Thu, 5 Oct 2023 19:37:49 +0000 (21:37 +0200)
committerSteve Sakoman <steve@sakoman.com>
Thu, 19 Oct 2023 14:34:38 +0000 (04:34 -1000)
commite9ca1405b732720ff72d379e0262a78bfd2e7d53
treea632c77fd5ef6f1713be5eaa988899400489943a
parent3fc3e55933716ce9cfa8b2e8e4cc8fa2e94a0061
busybox: Set PATH in syslog initscript

This script is not always called with /sbin and /usr/sbin in the PATH
already, for example when called via ssh. Explicitly set PATH to make
sure it includes /sbin and /usr/sbin since that's where start-stop-daemon
is located.

Signed-off-by: Martijn de Gouw <martijn.de.gouw@prodrive-technologies.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fa53f898eaba15dff030f9eadf86e5bca7d954fa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/busybox/files/syslog