mirror of
https://git.yoctoproject.org/poky
synced 2026-04-05 08:02:25 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user