diff options
author | Francis Rowe <info@gluglug.org.uk> | 2016-01-06 11:38:46 (EST) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2016-01-06 11:38:46 (EST) |
commit | 48e79bfae3a29a9d3b58a1e0eeb8be46a1c53b11 (patch) | |
tree | 443e4d12b4888c494fdcc43fcee74a142080d7e5 | |
parent | d2b9429a11c0c3b92d1139d3f98ea64c99a36394 (diff) | |
download | libreboot-48e79bfae3a29a9d3b58a1e0eeb8be46a1c53b11.zip libreboot-48e79bfae3a29a9d3b58a1e0eeb8be46a1c53b11.tar.gz libreboot-48e79bfae3a29a9d3b58a1e0eeb8be46a1c53b11.tar.bz2 |
grub.cfg: fix remaining one-liner for loops
-rw-r--r-- | resources/grub/config/menuentries/common.cfg | 8 |
1 files changed, 6 insertions, 2 deletions
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 |