summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFedor Ross <fedor.ross@ifm.com>2020-11-18 18:13:14 +0100
committerSteve Sakoman <steve@sakoman.com>2020-11-30 12:05:57 -1000
commit5fe58dbfbc42aa105a6be6444878f0c0588cb4d5 (patch)
tree40ab9650b5103fd730fee1edd21376d5ab7e3efb
parent0fc0b52cc624455cd48097dbc0536de50dbc4ede (diff)
downloadopenembedded-core-5fe58dbfbc42aa105a6be6444878f0c0588cb4d5.tar.gz
sysvinit: remove bashism to be compatible with dash
Replace the equality operator '==' with '=' inside of '[]' to be compatible with bash and dash. 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: Steve Sakoman <steve@sakoman.com>
-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() {
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.