mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +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: f3dbd50d3af6ff6ef6d2d5a64691c0861a19a733) Signed-off-by: Fedor Ross <fedor.ross@ifm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b7f0ec6eafb35117eaf4eeef281162080f0ca79a) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
369b6e0192
commit
3d5309b736
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user