From 5406cafdbd60b1d5e28d51f00f9dc0ac0447965a Mon Sep 17 00:00:00 2001 From: Eli Bosley Date: Mon, 29 Dec 2025 11:12:43 -0500 Subject: [PATCH 1/2] feat(bootmode): add new BootMode.page for UEFI configuration and remove boot mode options from Syslinux.page --- emhttp/plugins/dynamix/BootMode.page | 45 ++++++++++++++++++++++++++++ emhttp/plugins/dynamix/Syslinux.page | 13 -------- 2 files changed, 45 insertions(+), 13 deletions(-) create mode 100644 emhttp/plugins/dynamix/BootMode.page diff --git a/emhttp/plugins/dynamix/BootMode.page b/emhttp/plugins/dynamix/BootMode.page new file mode 100644 index 0000000000..cc82ca2d3a --- /dev/null +++ b/emhttp/plugins/dynamix/BootMode.page @@ -0,0 +1,45 @@ +Menu="Flash" +Title="Boot Mode" +Tag="edit" +--- + + + +
+ + + + +_(Server boot mode)_: +: + +_(Boot system in UEFI mode)_: +: + *_(Please check your system settings to support UEFI boot mode)_.* + +  +: + + + + +
+ diff --git a/emhttp/plugins/dynamix/Syslinux.page b/emhttp/plugins/dynamix/Syslinux.page index cc22db3414..e75ef825fa 100644 --- a/emhttp/plugins/dynamix/Syslinux.page +++ b/emhttp/plugins/dynamix/Syslinux.page @@ -45,7 +45,6 @@ Array.prototype.spliceArray = function(i,n,a) { return Array.prototype.splice.apply(this,[i,n].concat(a)); }; function prepareMenu(form) { - $('input[name="#arg[1]"]').val(form.boot.checked?1:0); if ($('div.basic').is(':visible')) { var label = [], area = []; $(form).find('label[id^=label]').each(function(){ @@ -186,8 +185,6 @@ $(function(){
- -
@@ -215,16 +212,6 @@ _(Syslinux configuration)_: :
-_(Server boot mode)_: -: - -_(Boot system in UEFI mode)_: -: - *_(Please check your system settings to support UEFI boot mode)_.* - : From 4b6ea610640ab7bdb0ca94986b6fdcbb46f72a9a Mon Sep 17 00:00:00 2001 From: Eli Bosley Date: Mon, 29 Dec 2025 11:15:17 -0500 Subject: [PATCH 2/2] fix: order to end of flash menu --- emhttp/plugins/dynamix/BootMode.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emhttp/plugins/dynamix/BootMode.page b/emhttp/plugins/dynamix/BootMode.page index cc82ca2d3a..d3475ecbb9 100644 --- a/emhttp/plugins/dynamix/BootMode.page +++ b/emhttp/plugins/dynamix/BootMode.page @@ -1,4 +1,4 @@ -Menu="Flash" +Menu="Flash:999" Title="Boot Mode" Tag="edit" ---