From 5147f855aa1d24fdc13498b47d621d065673d6e7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 20 Dec 2010 19:01:54 +0100 Subject: Supporting /dev/mtdblock0 as valid device name (for memdisk boot), thanks to Michael Prokop . --- scripts/live | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/live b/scripts/live index 66f0db0..ef87d3c 100755 --- a/scripts/live +++ b/scripts/live @@ -487,6 +487,9 @@ is_nice_device () then return 0 elif echo ${sysfs_path} | grep -q "^/block/dm-" + then + return 0 + elif echo ${sysfs_path} | grep -q "^/block/mtdblock" then return 0 fi -- cgit v1.2.3