x86: add support to set GRUB menu entry title
[openwrt/openwrt.git] / target / linux / x86 / image / grub.cfg
index 4e55dcfa61a21ac42bce43d3314b1674de3f34cb..dedfa0a6367524e51e24f1128a3b7786ed1cba3a 100644 (file)
@@ -3,11 +3,11 @@
 
 set default="0"
 set timeout="@TIMEOUT@"
-set root='(hd0,msdos1)'
+set root='(@ROOT@)'
 
-menuentry "OpenWrt" {
-       linux /boot/vmlinuz @CMDLINE@ noinitrd reboot=bios
+menuentry "@TITLE@" {
+       linux /boot/vmlinuz @CMDLINE@ noinitrd
 }
-menuentry "OpenWrt (failsafe)" {
-       linux /boot/vmlinuz failsafe=true @CMDLINE@ noinitrd reboot=bios
+menuentry "@TITLE@ (failsafe)" {
+       linux /boot/vmlinuz failsafe=true @CMDLINE@ noinitrd
 }