mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00: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.
|
# Check the root filesystem.
|
||||||
#
|
#
|
||||||
if test -f /fastboot || test $rootcheck = no
|
if test -f /fastboot || test "$rootcheck" = "no"
|
||||||
then
|
then
|
||||||
test $rootcheck = yes && echo "Fast boot, no filesystem check"
|
test $rootcheck = yes && echo "Fast boot, no filesystem check"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user