summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup-bwlp-ipxe/install.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2019-04-03 16:34:03 +0200
committerSimon Rettberg2019-04-03 18:12:31 +0200
commit2c08c48476ebc29f7577e1b2e0ce545b2292da2c (patch)
treea42870ec24e0f3aef5236466abf4424abc89ff74 /modules-available/serversetup-bwlp-ipxe/install.inc.php
parent[statistics/locations] Add locationid constraints; update on delete (diff)
downloadslx-admin-2c08c48476ebc29f7577e1b2e0ce545b2292da2c.tar.gz
slx-admin-2c08c48476ebc29f7577e1b2e0ce545b2292da2c.tar.xz
slx-admin-2c08c48476ebc29f7577e1b2e0ce545b2292da2c.zip
[serversetup-bwlp-ipxe] Fix resetting of default bootentries on install
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe/install.inc.php')
-rw-r--r--modules-available/serversetup-bwlp-ipxe/install.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/install.inc.php b/modules-available/serversetup-bwlp-ipxe/install.inc.php
index dc6d145e..35eeee37 100644
--- a/modules-available/serversetup-bwlp-ipxe/install.inc.php
+++ b/modules-available/serversetup-bwlp-ipxe/install.inc.php
@@ -110,6 +110,8 @@ if (Module::get('location') !== false) {
}
}
-IPxe::createDefaultEntries();
+if (Module::isAvailable('serversetup')) {
+ IPxe::createDefaultEntries();
+}
responseFromArray($res);