From 10819a70f6f196e97d1d0e82caf4f4afb15d6f4b 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/live') diff --git a/scripts/live b/scripts/live index d79beed..f87919d 100755 --- a/scripts/live +++ b/scripts/live @@ -469,6 +469,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