From dff5f3fe78edc647030e83d9b7f5913c6aae6883 Mon Sep 17 00:00:00 2001 From: ZeTriUm Date: Fri, 15 Dec 2017 20:03:34 +0400 Subject: [PATCH] Add support for SolydXK --- mbusb.d/solyd.d/generic.cfg | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 mbusb.d/solyd.d/generic.cfg diff --git a/mbusb.d/solyd.d/generic.cfg b/mbusb.d/solyd.d/generic.cfg new file mode 100644 index 00000000..67dfb98d --- /dev/null +++ b/mbusb.d/solyd.d/generic.cfg @@ -0,0 +1,29 @@ +for isofile in $isopath/solyd*.iso; do + if [ -e "$isofile" ]; then + regexp --set=isoname "$isopath/(.*)" "$isofile" + submenu "$isoname ->" "$isofile" { + iso_path="$2" + loopback loop "$iso_path" + menuentry "Start Solyd" { + bootoptions="findiso=$iso_path boot=live config quiet splash" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "Start Solyd (safe)" { + bootoptions="findiso=$iso_path boot=live config memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "Check the integrity of the medium" { + bootoptions="findiso=$iso_path boot=live verify-checksums" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "Memory Diagnostic Tool" { + bootoptions="" + linux16 (loop)/live/memtest86 $bootoptions + } + } + fi +done +