This repository has been archived on 2024-05-18. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
soifai/config/class/85-efi-classes
2022-07-15 11:59:26 +02:00

14 lines
222 B
Bash
Executable file

#! /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