more dmraid grub2 fixes

This commit is contained in:
Tobias Powalowski 2011-02-13 17:39:53 +01:00
parent e3cd27f70a
commit 7d811723b2

View file

@ -3654,6 +3654,9 @@ dogrub2_common_before() {
USE_DMRAID="" USE_DMRAID=""
RAID_ON_LVM="" RAID_ON_LVM=""
common_bootloader_checks common_bootloader_checks
if ! [[ "$(dmraid -r | grep ^no )" ]]; then
DIALOG --yesno "Setup detected dmraid device.\nDo you want to install grub on this device?" 0 0 && USE_DMRAID="1"
fi
} }
dogrub2_config() { dogrub2_config() {