mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-04 16:10:04 +00:00
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. (From OE-Core rev: e9ca1405b732720ff72d379e0262a78bfd2e7d53) 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>
This commit is contained in:
parent
2b0c041e2c
commit
e0cfa4c6a1
|
|
@ -10,6 +10,8 @@
|
|||
|
||||
set -e
|
||||
|
||||
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
|
||||
|
||||
if [ -f /etc/syslog-startup.conf ]; then
|
||||
. /etc/syslog-startup.conf
|
||||
LOG_LOCAL=0
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user