diff options
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe/page.inc.php')
-rw-r--r-- | modules-available/serversetup-bwlp-ipxe/page.inc.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/page.inc.php b/modules-available/serversetup-bwlp-ipxe/page.inc.php index 95ebb69f..4941a44b 100644 --- a/modules-available/serversetup-bwlp-ipxe/page.inc.php +++ b/modules-available/serversetup-bwlp-ipxe/page.inc.php @@ -297,6 +297,11 @@ class Page_ServerSetup extends Page $bootentryTable[] = $row; } + if (empty($bootentryTable)) { + IPxe::importLegacyMenu(true); + Util::redirect('?do=serversetup&show=bootentry'); + } + Render::addTemplate('bootentry-list', array( 'bootentryTable' => $bootentryTable, 'allowEdit' => $allowEdit, |