iankelling.org
/
git
/
automated-distro-installer
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
1c3b4fd7a7bff31e1a9ec0aaf63303c6d3ea8f7f
[automated-distro-installer]
/
60-misc
1
#! /bin/bash
2
3
ifclass
-o
CENTOS SLC
&&
exit
0
4
5
ifclass
-o
GRUB_PC GRUB_EFI
&&
exit
0
6
7
if
[
-d
/
sys
/
firmware
/
efi
];
then
8
echo
GRUB_EFI
9
elif
ifclass
-o
I386 AMD64
;
then
10
echo
GRUB_PC
11
fi