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