Fix tab alignment to conform with rest of script

This commit is contained in:
Kyle Rankin 2018-03-14 10:24:14 -07:00
parent 665754122d
commit eaaa1dad39
No known key found for this signature in database
GPG Key ID: 555577116BFA74B9
2 changed files with 7 additions and 7 deletions

View File

@ -296,9 +296,9 @@ do_boot()
while true; do
if [ "$force_boot" = "y" ]; then
check_config $paramsdir force
else
else
check_config $paramsdir
fi
fi
TMP_DEFAULT_FILE=`find /tmp/kexec/kexec_default.*.txt 2>/dev/null | head -1` || true
TMP_MENU_FILE="/tmp/kexec/kexec_menu.txt"
TMP_HASH_FILE="/tmp/kexec/kexec_hashes.txt"

View File

@ -181,11 +181,11 @@ check_config() {
return
fi
if [ "$2" != "force" ]; then
if ! sha256sum `find $1/kexec*.txt` | gpgv $1/kexec.sig - ; then
die 'Invalid signature on kexec boot params'
fi
fi
if [ "$2" != "force" ]; then
if ! sha256sum `find $1/kexec*.txt` | gpgv $1/kexec.sig - ; then
die 'Invalid signature on kexec boot params'
fi
fi
echo "+++ Found verified kexec boot params"
cp $1/kexec*.txt /tmp/kexec \