22 lines
411 B
Bash
Executable File
22 lines
411 B
Bash
Executable File
#! /bin/bash
|
|
|
|
# define classes for disk_config in an EFI enironment
|
|
|
|
if [ ! -d /sys/firmware/efi ]; then
|
|
exit 0
|
|
fi
|
|
|
|
if ifclass FAIBASE; then
|
|
echo FAIBASE_EFI
|
|
elif ifclass FAISERVER; then
|
|
echo FAISERVER_EFI
|
|
elif ifclass LVM; then
|
|
echo LVM_EFI
|
|
elif ifclass XENIAL; then
|
|
echo XENIAL_EFI
|
|
elif ifclass UBUNTU; then
|
|
echo UBUNTU_EFI
|
|
elif ifclass HW4F_DESKTOP; then
|
|
echo HW4F_DESKTOP_EFI
|
|
fi
|