diff options
author | Simon Rettberg | 2019-04-03 16:34:03 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-04-03 18:12:31 +0200 |
commit | 2c08c48476ebc29f7577e1b2e0ce545b2292da2c (patch) | |
tree | a42870ec24e0f3aef5236466abf4424abc89ff74 /modules-available/serversetup-bwlp-ipxe/install.inc.php | |
parent | [statistics/locations] Add locationid constraints; update on delete (diff) | |
download | slx-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.php | 4 |
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); |