From 9c27c7a23d5b839cfefa72bfae93102fbf67d83a Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Mon, 13 Jan 2020 10:53:19 +0100 Subject: [PATCH] Fix flipped logic for handling memdiskfind Commit 07d13d4a81e8e3ea3f7cff63a6528efd5a46b1e7 accidentally flipped the logic for handling memdiskfind, causing erroneous messages and a four second boot delay. Flip the logic again to correct it. Thanks to Marcel Partap for reporting it. Signed-off-by: Benjamin Drung --- components/9990-main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/9990-main.sh b/components/9990-main.sh index 4a22909..3fbe9bc 100755 --- a/components/9990-main.sh +++ b/components/9990-main.sh @@ -52,7 +52,7 @@ Live () else if [ -x /usr/bin/memdiskfind ] then - if ! MEMDISK=$(/usr/bin/memdiskfind) + if MEMDISK=$(/usr/bin/memdiskfind) then # We found a memdisk, set up phram # Sometimes "modprobe phram" can not successfully create /dev/mtd0. -- 2.1.4