diff options
author | Fedor Ross <fedor.ross@ifm.com> | 2020-11-18 18:13:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-24 10:27:45 +0000 |
commit | 0d011819e977fb19027c4dbf91284b64d2ae74e8 (patch) | |
tree | 5db294f5d9a8848f2435e545cd81aaeeaca53ab9 /meta/recipes-core/sysvinit | |
parent | de9bcf56ebd6206afd325228994f901ce536204e (diff) | |
download | poky-0d011819e977fb19027c4dbf91284b64d2ae74e8.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: b7f0ec6eafb35117eaf4eeef281162080f0ca79a)
Signed-off-by: Fedor Ross <fedor.ross@ifm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/sysvinit')
-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 | ||