From: Michael Prokop Date: Tue, 16 May 2017 22:37:15 +0000 (+0200) Subject: Don't warn if SecureBoot is not enabled, instead only inform about current state X-Git-Tag: v0.15.6~3 X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=commitdiff_plain;h=176568ce0d352cb56b370737c3263eb09eba8e89 Don't warn if SecureBoot is not enabled, instead only inform about current state 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 --- diff --git a/autoconfig.functions b/autoconfig.functions index 14e7897..ccf12d6 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -547,14 +547,14 @@ config_secureboot(){ 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 - ewarn "SecureBoot not detected" ; eend 0 + einfo "SecureBoot not detected" ; eend 0 fi fi fi