From 48e79bfae3a29a9d3b58a1e0eeb8be46a1c53b11 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Wed, 6 Jan 2016 16:38:46 +0000 Subject: grub.cfg: fix remaining one-liner for loops --- resources/grub/config/menuentries/common.cfg | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'resources/grub') diff --git a/resources/grub/config/menuentries/common.cfg b/resources/grub/config/menuentries/common.cfg index 03d8a11a..63f57ac3 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 v1.2.3-70-g09d2