From 4e7952bc71bc730c3deac1ab74368618c2b01d95 Mon Sep 17 00:00:00 2001 From: ZeTriUm Date: Fri, 15 Dec 2017 20:14:48 +0400 Subject: [PATCH] Add support for Musix GNU+Linux --- mbusb.d/musix.d/generic.cfg | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 mbusb.d/musix.d/generic.cfg diff --git a/mbusb.d/musix.d/generic.cfg b/mbusb.d/musix.d/generic.cfg new file mode 100644 index 00000000..cc718253 --- /dev/null +++ b/mbusb.d/musix.d/generic.cfg @@ -0,0 +1,20 @@ +for isofile in $isopath/MUSIX_GNU+Linux_*.iso; do + if [ -e "$isofile" ]; then + regexp --set=isoname "$isopath/(.*)" "$isofile" + submenu "$isoname ->" "$isofile" { + iso_path="$2" + loopback loop "$iso_path" + menuentry "Live" { + bootoptions="findiso=$iso_path boot=live config hostname=musix noautologin" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "Live video vesa" { + bootoptions="findiso=$iso_path boot=live config hostname=musix noautologin vga=vesa" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + } + fi +done +