This commit is contained in:
simono41 2018-06-28 15:10:05 +02:00
parent 4c9a65cf90
commit 4ef5a027f2

View file

@ -812,7 +812,7 @@ function abfrage() {
echo "Please write down the entries: D !!!"
echo "For each yes you have to make a y and for every no an n, unless it is interpreted differently!!!"
echo ""
if mount | grep efi > /dev/null; then
if mount | grep efi > /dev/null && [ -d /sys/firmware/efi/efivars/ ]; then
echo "System supports UEFI"
read -p "How would you like to have your hard drive partitioned?: [UEFI/bios] " Partition
[[ -z "${Partition}" ]] && Partition=uefi