X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=components%2F9990-main.sh;h=b50952fe1af877a9657882ddcc8130f0c3942c12;hb=de2eaf61a458dcd490f01494f8e2ed6e23c416ca;hp=4a22909d49b85ee6704d24f3d86a1718456b0c29;hpb=b5e8d802f3ffb340e5118b530f1256deb22bb35a;p=live-boot-grml.git diff --git a/components/9990-main.sh b/components/9990-main.sh index 4a22909..b50952f 100755 --- a/components/9990-main.sh +++ b/components/9990-main.sh @@ -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 @@ -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.