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