From 8e293376f0237a203d1106b01d48505e4e09822e Mon Sep 17 00:00:00 2001 From: ZeTriUm Date: Tue, 12 Dec 2017 14:35:04 +0400 Subject: [PATCH] Add support for Qomo Linux --- mbusb.d/qomo.d/generic.cfg | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 mbusb.d/qomo.d/generic.cfg diff --git a/mbusb.d/qomo.d/generic.cfg b/mbusb.d/qomo.d/generic.cfg new file mode 100644 index 00000000..ee4728b8 --- /dev/null +++ b/mbusb.d/qomo.d/generic.cfg @@ -0,0 +1,20 @@ +for isofile in $isopath/QOMO_*.iso; do + if [ -e "$isofile" ]; then + regexp --set=isoname "$isopath/(.*)" "$isofile" + submenu "$isoname ->" "$isofile" { + iso_path="$2" + loopback loop "$iso_path" + menuentry "QOMO Linux" { + bootoptions="iso=$imgdevpath:$iso_path rflive quiet splash" + linux (loop)/redflag/boot/x86_64/vmlinuz $bootoptions + initrd (loop)/redflag/boot/x86_64/redflagiso.initrd + } + menuentry "QOMO Linux Safe Mode" { + bootoptions="iso=$imgdevpath:$iso_path rflive quiet splash i915.modeset=0 nouveau.modeset=0 radeon.modeset=0" + linux (loop)/redflag/boot/x86_64/vmlinuz $bootoptions + initrd (loop)/redflag/boot/x86_64/redflagiso.initrd + } + } + fi +done +