#!/bin/bash for f in ADD ABA; do echo "== $f /boot/grub/grub.cfg" 7z e -y -o/tmp/cfgchk "/mnt/f/efi/Paravis/Utilities/$f" 'boot/grub/grub.cfg' >/dev/null 2>&1 sed 's/^/ /' /tmp/cfgchk/grub.cfg 2>/dev/null rm -f /tmp/cfgchk/grub.cfg done