ef3787224f4e0e2bfad45fdfcf477c81cdc8f24e
[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
3 # fail with invalid usage, while the later will fail with "error: device name required."
4 if probe ; then
5   echo "It looks like Secure Boot is enabled."
6   set grml_secureboot=true
7   export grml_secureboot
8 else
9   echo "It looks like Secure Boot is NOT enabled."
10   set grml_secureboot=false
11   export grml_secureboot
12 fi