Skip to content

Commit

Permalink
next try
Browse files Browse the repository at this point in the history
  • Loading branch information
david committed Aug 23, 2017
1 parent dd038f7 commit d489751
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions mxgrub/mxgrub
Original file line number Diff line number Diff line change
Expand Up @@ -193,16 +193,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="$submenu>$MARIUX_DEFAULT" ; linux /boot/bzImage.x86_64 crashkernel=256M root=LABEL=root ro console=ttyS1,115200n8 console=tty0 ; initrd /boot/grub/initramfs.igz }
menuentry "$MARIUX_DEFAULT" --unrestricted { set chosen="$submenu>$MARIUX_DEFAULT" ; save_env chosen ; linux /boot/bzImage.x86_64 crashkernel=256M root=LABEL=root ro console=ttyS1,115200n8 console=tty0 ; initrd /boot/grub/initramfs.igz }
submenu "$submenu" --unrestricted {
$kernellist
}
if [ "\$chosen" = "\$default" ]; then
set default="$submenu>\$chosen"
unset chosen
fi
if [ \$chosen ]; then
set default=\$chosen
unset chosen # must be clear to get a clean value from menuentry
Expand Down

0 comments on commit d489751

Please sign in to comment.