Skip to content

Commit

Permalink
Merge branch 'master' into 'master'
Browse files Browse the repository at this point in the history
Fix flipped logic for handling memdiskfind

See merge request live-team/live-boot!28
  • Loading branch information
rhertzog committed Jan 22, 2020
2 parents 685fa11 + 9b976b5 commit bdadb4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/9990-main.sh
Expand Up @@ -33,7 +33,7 @@ Live ()
# Needed here too because some things (*cough* udev *cough*)
# changes the timeout

if [ ! -z "${NETBOOT}" ] || [ ! -z "${FETCH}" ] || [ ! -z "${HTTPFS}" ] || [ ! -z "${FTPFS}" ]
if [ -n "${NETBOOT}" ] || [ -n "${FETCH}" ] || [ -n "${HTTPFS}" ] || [ -n "${FTPFS}" ]
then
if do_netmount
then
Expand All @@ -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.
Expand Down

0 comments on commit bdadb4b

Please sign in to comment.