summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup-bwlp-ipxe/page.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2019-03-09 16:19:54 +0100
committerSimon Rettberg2019-03-09 16:19:54 +0100
commitb7ffb7a9e6bec50dbe28a95d9140de076e7781c7 (patch)
treefca7d985139273e030fb00a3d896459e7aa34dab /modules-available/serversetup-bwlp-ipxe/page.inc.php
parent[statistics] Fix: runmode-nonclient always showing as occupied in list (diff)
downloadslx-admin-b7ffb7a9e6bec50dbe28a95d9140de076e7781c7.tar.gz
slx-admin-b7ffb7a9e6bec50dbe28a95d9140de076e7781c7.tar.xz
slx-admin-b7ffb7a9e6bec50dbe28a95d9140de076e7781c7.zip
[serversetup-bwlp-ipxe/locations] Minor fixes
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe/page.inc.php')
-rw-r--r--modules-available/serversetup-bwlp-ipxe/page.inc.php5
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,