initscripts: use quotes for shell variable comparision

Helps to execute it with busybox shell

(From OE-Core rev: 45ba0ca0352bca46f974d28781ac935d8e9ec3ea)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2020-12-17 14:54:37 -08:00
committed by Richard Purdie
parent 949646a9e9
commit a8af9db08c

View File

@@ -74,7 +74,7 @@ test "$VERBOSE" != no && echo "Activating swap"
#
# Check the root filesystem.
#
if test -f /fastboot || test $rootcheck = no
if test -f /fastboot || test "$rootcheck" = "no"
then
test $rootcheck = yes && echo "Fast boot, no filesystem check"
else