From 6877cbd71f39885730c2ad2e265f76e02f4f83fc Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Wed, 17 Jul 2013 21:22:51 +0200 Subject: [PATCH] remove more /dev/hd references --- usr/share/archboot/installer/setup | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/usr/share/archboot/installer/setup b/usr/share/archboot/installer/setup index fc9f5daeb..cb532e5a8 100755 --- a/usr/share/archboot/installer/setup +++ b/usr/share/archboot/installer/setup @@ -351,18 +351,9 @@ get_media() { done AUTOMOUNT="1" - - # ide devices - if [[ "${SET_MEDIA}" == "0" ]]; then - for dev in $(ls ${block} | egrep '^hd'); do - if [[ "$(cat ${block}/${dev}/device/media)" = "cdrom" ]]; then - check_media - fi - done - fi if [[ "${SET_MEDIA}" == "0" ]]; then - # scsi/sata and other devices + # ide/scsi/sata and other devices for dev in $(ls ${block} | egrep '^[sv]d|^sr|^scd|^sg'); do if ! [[ -e "${block}/${dev}/device/type" ]]; then #check virtio devices