aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt/hdt-menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/hdt/hdt-menu.c')
-rw-r--r--com32/hdt/hdt-menu.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/com32/hdt/hdt-menu.c b/com32/hdt/hdt-menu.c
index a0196c24..4f1b42fb 100644
--- a/com32/hdt/hdt-menu.c
+++ b/com32/hdt/hdt-menu.c
@@ -128,6 +128,8 @@ void compute_submenus(struct s_hdt_menu *hdt_menu, struct s_hardware *hardware)
/* Compute this menu if a DMI table exists */
if (hardware->is_dmi_valid) {
+ if (hardware->dmi.ipmi.filled == true)
+ compute_ipmi(&hdt_menu->ipmi_menu, &hardware->dmi);
if (hardware->dmi.base_board.filled == true)
compute_motherboard(&(hdt_menu->mobo_menu),
&(hardware->dmi));
@@ -152,6 +154,7 @@ void compute_submenus(struct s_hdt_menu *hdt_menu, struct s_hardware *hardware)
compute_processor(&(hdt_menu->cpu_menu), hardware);
compute_disks(hdt_menu, hardware->disk_info);
+
#ifdef WITH_PCI
compute_PCI(hdt_menu, hardware);
compute_PXE(&(hdt_menu->pxe_menu), hardware);
@@ -232,6 +235,11 @@ void compute_main_menu(struct s_hdt_menu *hdt_menu, struct s_hardware *hardware)
hdt_menu->battery_menu.menu);
hdt_menu->main_menu.items_count++;
}
+ if (hardware->dmi.ipmi.filled == true) {
+ add_item("I<P>MI", "IPMI Menu", OPT_SUBMENU, NULL,
+ hdt_menu->ipmi_menu.menu);
+ hdt_menu->main_menu.items_count++;
+ }
}
if (hardware->is_pxe_valid == true) {