diff --git a/data/multibootusb/grub/menus/finnix.d/live-generic.cfg b/data/multibootusb/grub/menus/finnix.d/live-generic.cfg new file mode 100644 index 00000000..23f6cfdf --- /dev/null +++ b/data/multibootusb/grub/menus/finnix.d/live-generic.cfg @@ -0,0 +1,14 @@ +for isofile in $isopath/finnix-*.iso; do + if [ -e "$isofile" ]; then + regexp --set=isoname "$isopath/(.*)" "$isofile" + submenu "$isoname (loopback.cfg) ->" "$isofile" { + iso_path="$2" + export iso_path + search --set=root --file "$iso_path" + loopback loop "$iso_path" + root=(loop) + configfile /boot/grub/loopback.cfg + loopback --delete loop + } + fi +done