summaryrefslogtreecommitdiff
path: root/data/templates/grub/grub_main.j2
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/grub/grub_main.j2')
-rw-r--r--data/templates/grub/grub_main.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/data/templates/grub/grub_main.j2 b/data/templates/grub/grub_main.j2
new file mode 100644
index 0000000..0c7ea02
--- /dev/null
+++ b/data/templates/grub/grub_main.j2
@@ -0,0 +1,7 @@
+load_env
+insmod regexp
+
+for cfgfile in ${prefix}/grub.cfg.d/*-autoload.cfg
+do
+ source ${cfgfile}
+done