1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

sysvinit: remove bashism to be compatible with dash

Replace the equality operator '==' with '=' inside of '[]' to be
compatible with bash and dash.

(From OE-Core rev: b7f0ec6eafb35117eaf4eeef281162080f0ca79a)

Signed-off-by: Fedor Ross <fedor.ross@ifm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Fedor Ross
2020-11-18 18:13:14 +01:00
committed by Richard Purdie
parent de9bcf56eb
commit 0d011819e9
+1 -1
View File
@@ -63,7 +63,7 @@ startup() {
stty onlcr 0>&1
# Limit stack size for startup scripts
[ "$STACK_SIZE" == "" ] || ulimit -S -s $STACK_SIZE
[ "$STACK_SIZE" = "" ] || ulimit -S -s $STACK_SIZE
# Now find out what the current and what the previous runlevel are.