From 605edd4d5c3f80ce276a54fe7baa7ecb0fbcd522 Mon Sep 17 00:00:00 2001 From: ZeTriUm Date: Fri, 15 Dec 2017 19:07:24 +0400 Subject: [PATCH] Add support for Runtu --- mbusb.d/runtu.d/generic.cfg | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 mbusb.d/runtu.d/generic.cfg diff --git a/mbusb.d/runtu.d/generic.cfg b/mbusb.d/runtu.d/generic.cfg new file mode 100644 index 00000000..d09fd1ea --- /dev/null +++ b/mbusb.d/runtu.d/generic.cfg @@ -0,0 +1,15 @@ +for isofile in $isopath/runtu-*.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 +