fe779eeb52887bdb9868cc64d49f3d8a32d44147
[grml-live.git] / templates / boot / grub / grmlenv.cfg
1 # this is a simple test to identify whether it looks like the Secure Boot enabled/signed
2 # GRUB is running or if it's a full featured GRUB version, the former doesn't allow running cpuid
3 if cpuid ; then
4   echo "It looks like Secure Boot is NOT enabled."
5   set grml_secureboot=false
6   export grml_secureboot
7 else
8   echo "It looks like Secure Boot is enabled."
9   set grml_secureboot=true
10   export grml_secureboot
11 fi