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 <benjamin.drung@profitbricks.com>
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.