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 +