Supporting /dev/mtdblock0 as valid device name (for memdisk boot), thanks to Michael...
[live-boot-grml.git] / scripts / live
index d79beed..f87919d 100755 (executable)
@@ -471,6 +471,9 @@ is_nice_device ()
        elif echo ${sysfs_path} | grep -q "^/block/dm-"
        then
                return 0
+       elif echo ${sysfs_path} | grep -q "^/block/mtdblock"
+       then
+               return 0
        fi
 
        return 1