From 5147f855aa1d24fdc13498b47d621d065673d6e7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 20 Dec 2010 19:01:54 +0100 Subject: [PATCH] Supporting /dev/mtdblock0 as valid device name (for memdisk boot), thanks to Michael Prokop . --- scripts/live | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/live b/scripts/live index 66f0db0..ef87d3c 100755 --- a/scripts/live +++ b/scripts/live @@ -489,6 +489,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 -- 2.1.4