This repository has been archived on 2024-05-18. You can view files and clone it, but cannot push or open issues or pull requests.
|
#! /bin/bash
|
|
|
|
# define classes for disk_config in an EFI enironment
|
|
|
|
if [ ! -d /sys/firmware/efi ] || ifclass GRUB_PC; then
|
|
exit 0
|
|
fi
|
|
|
|
for c in LVM FAIBASE; do
|
|
if ifclass $c; then
|
|
echo ${c}_EFI
|
|
break
|
|
fi
|
|
done
|