summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorFedor Ross <fedor.ross@ifm.com>2020-11-18 18:13:14 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-03 23:02:08 +0000
commit3d5309b736e76f02ad1bc91a8626d6ba4149a53e (patch)
tree65d21a1ca466032222133f01e21ef782bc2a568c /meta
parent369b6e0192546ec2f41b886172dd42af693df13f (diff)
downloadpoky-3d5309b736e76f02ad1bc91a8626d6ba4149a53e.tar.gz
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>
Diffstat (limited to 'meta')
-rwxr-xr-xmeta/recipes-core/sysvinit/sysvinit/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit/rc b/meta/recipes-core/sysvinit/sysvinit/rc
index fd1fdd26ba..d0d3149821 100755
--- a/meta/recipes-core/sysvinit/sysvinit/rc
+++ b/meta/recipes-core/sysvinit/sysvinit/rc
@@ -63,7 +63,7 @@ startup() {
63 stty onlcr 0>&1 63 stty onlcr 0>&1
64 64
65 # Limit stack size for startup scripts 65 # Limit stack size for startup scripts
66 [ "$STACK_SIZE" == "" ] || ulimit -S -s $STACK_SIZE 66 [ "$STACK_SIZE" = "" ] || ulimit -S -s $STACK_SIZE
67 67
68 # Now find out what the current and what the previous runlevel are. 68 # Now find out what the current and what the previous runlevel are.
69 69