aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2016-01-06 16:38:46 +0000
committerFrancis Rowe <info@gluglug.org.uk>2016-01-06 16:38:46 +0000
commit48e79bfae3a29a9d3b58a1e0eeb8be46a1c53b11 (patch)
tree443e4d12b4888c494fdcc43fcee74a142080d7e5
parentd2b9429a11c0c3b92d1139d3f98ea64c99a36394 (diff)
downloadlibrebootfr-48e79bfae3a29a9d3b58a1e0eeb8be46a1c53b11.tar.gz
librebootfr-48e79bfae3a29a9d3b58a1e0eeb8be46a1c53b11.zip
grub.cfg: fix remaining one-liner for loops
-rw-r--r--resources/grub/config/menuentries/common.cfg8
1 files changed, 6 insertions, 2 deletions
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