diff options
author | Fedor Ross <fedor.ross@ifm.com> | 2020-11-18 18:13:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-09 23:49:01 +0000 |
commit | 80462e22d5c31be067f75d12882a32cd69eec22e (patch) | |
tree | aa56fc6a00e1f2b2e6ee6392dff85d54ced94e8a /meta/recipes-core | |
parent | 9f5727f2ea08c4c1dae6ca1a49cbc9c56ad1422b (diff) | |
download | poky-80462e22d5c31be067f75d12882a32cd69eec22e.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: 5fe58dbfbc42aa105a6be6444878f0c0588cb4d5)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rwxr-xr-x | meta/recipes-core/sysvinit/sysvinit/rc | 2 |
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 | ||