#!/bin/bash for key_type in PK KEK db dbx; do efi-readvar -v $key_type -o ./factory_config/${key_type}.esl; done