From 48e79bfae3a29a9d3b58a1e0eeb8be46a1c53b11 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Wed, 06 Jan 2016 11:38:46 -0500 Subject: grub.cfg: fix remaining one-liner for loops --- (limited to 'resources/grub/config/menuentries') diff --git a/resources/grub/config/menuentries/common.cfg b/resources/grub/config/menuentries/common.cfg index 03d8a11..63f57ac 100644 --- a/resources/grub/config/menuentries/common.cfg +++ b/resources/grub/config/menuentries/common.cfg @@ -39,9 +39,13 @@ menuentry 'Load Operating System (incl. fully encrypted disks) [o]' --hotkey='o # 2. Look for user config. If the above routine successfully decrypted a LUKS container, its content # will be searched before everything else for obvious reasons. Regardless of this, the devices' # hirachy stays the same. - for d in crypto0 ahci0; do switch_to_grub_config ${d}; done + for d in crypto0 ahci0; do + switch_to_grub_config ${d} + done for j in 1 2 3 4 5 6 7 8 9; do - for d in crypto0 ahci0; do switch_to_grub_config "${d},${j}"; done + for d in crypto0 ahci0; do + switch_to_grub_config "${d},${j}" + done done # prompt user for passphrase if LUKS header is found but try using external keyfiles first -- cgit v0.9.1