dracut-module-setup.sh: remove UUID/LABEL quotes before using it

blkid do not support UUID/LABEL with quotes, remove the quotes before converting
to dev name, or the result devname will be nul.

Signed-off-by: Dave Young <dyoung@redhat.com>
Acked-by: Baoquan He <bhe@redhat.com>
This commit is contained in:
dyoung@redhat.com 2013-03-05 16:07:39 +08:00 committed by Baoquan He
parent 81735539b8
commit ff7d629a56
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ is_ssh_dump_target()
}
kdump_to_udev_name() {
local dev="$1"
local dev="${1//\"/}"
case "$dev" in
UUID=*)