Update tests_boot_services (#201)

Added detection of password for Grub2 in Ubuntu 14.04 LTS. Previous version doesn't detect it.
This commit is contained in:
ratrop 2016-07-11 11:20:05 +02:00 committed by Michael Boelen
parent a62a09d9e4
commit cd2429688b
1 changed files with 1 additions and 0 deletions

View File

@ -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