If SecureBoot isn't enabled this could very well be by
intention, so don't warn about it, but only make it
an informational message.
Closes grml/grml#24
if [ -n "$secstate" ] ; then
einfo "SecureBoot is enabled" ; eend 0
else
if [ -n "$secstate" ] ; then
einfo "SecureBoot is enabled" ; eend 0
else
- ewarn "SecureBoot not detected" ; eend 0
+ einfo "SecureBoot not detected" ; eend 0
fi
else
if modprobe efivars &>/dev/null ; then
if od -An -t u1 /sys/firmware/efi/vars/SecureBoot-*/data 2>/dev/null | grep -q 1 ; then
einfo "SecureBoot is enabled" ; eend 0
else
fi
else
if modprobe efivars &>/dev/null ; then
if od -An -t u1 /sys/firmware/efi/vars/SecureBoot-*/data 2>/dev/null | grep -q 1 ; then
einfo "SecureBoot is enabled" ; eend 0
else
- ewarn "SecureBoot not detected" ; eend 0
+ einfo "SecureBoot not detected" ; eend 0