diff --git a/mbusb.d/redflag.d/inwise-generic.cfg b/mbusb.d/redflag.d/inwise-generic.cfg new file mode 100644 index 00000000..2cff318e --- /dev/null +++ b/mbusb.d/redflag.d/inwise-generic.cfg @@ -0,0 +1,20 @@ +for isofile in $isopath/REDFLAG-inWise_*.iso; do + if [ -e "$isofile" ]; then + regexp --set=isoname "$isopath/(.*)" "$isofile" + submenu "$isoname ->" "$isofile" { + iso_path="$2" + loopback loop "$iso_path" + menuentry "REDFLAG inWise" { + 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 "REDFLAG inWise 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 +