From cd2429688b36d1fd1bb249c4babe8d0cda77cada Mon Sep 17 00:00:00 2001 From: ratrop Date: Mon, 11 Jul 2016 11:20:05 +0200 Subject: [PATCH] Update tests_boot_services (#201) Added detection of password for Grub2 in Ubuntu 14.04 LTS. Previous version doesn't detect it. --- include/tests_boot_services | 1 + 1 file changed, 1 insertion(+) diff --git a/include/tests_boot_services b/include/tests_boot_services index 3b858d14..534a4a8e 100644 --- a/include/tests_boot_services +++ b/include/tests_boot_services @@ -269,6 +269,7 @@ FIND2=`grep 'password --encrypted' ${GRUBCONFFILE} | grep -v '^#'` FIND3=`grep 'set superusers' ${GRUBCONFFILE} | grep -v '^#'` FIND4=`grep 'password_pbkdf2' ${GRUBCONFFILE} | grep -v '^#'` + FIND5=`grep 'grub.pbkdf2' ${GRUBCONFFILE} | grep -v '^#'` # GRUB1: MD5 or SHA1 if [ ! "${FIND}" = "" -o ! "${FIND2}" = "" ]; then FOUND=1