Skip to content

Commit

Permalink
add submenu for grub
Browse files Browse the repository at this point in the history
  • Loading branch information
david committed Aug 16, 2017
1 parent 80b6dba commit c32650b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mxgrub/mxgrub
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,11 @@ if [ -e /etc/local/USB.usb ]; then
menuentry "mariuxUSB" --unrestricted { save_env chosen ; linux /boot/bzImage.x86_64 crashkernel=256M root=LABEL=rootusb ro ; initrd /boot/grub/initramfs.igz }
else
menuentry "$MARIUX_DEFAULT" --unrestricted { save_env chosen ; linux /boot/bzImage.x86_64 crashkernel=256M root=LABEL=root ro ; initrd /boot/grub/initramfs.igz }
submenu "all other kernel" --unrestricted {
$kernellist
}
if [ \$chosen ]; then
set default=\$chosen
unset chosen # must be clear to get a clean value from menuentry
Expand Down

0 comments on commit c32650b

Please sign in to comment.