diff options
author | Simon Rettberg | 2023-11-02 17:27:48 +0100 |
---|---|---|
committer | Simon Rettberg | 2023-11-02 17:27:48 +0100 |
commit | c21ffba60dc2c08efbe44220cacf14bd31ef9885 (patch) | |
tree | 82d4bf27d970aae121827899c86c0a5cd6c8f7d9 /modules-available/serversetup-bwlp-pxelinux/hooks | |
parent | [sysconfig] Add missing else (diff) | |
download | slx-admin-c21ffba60dc2c08efbe44220cacf14bd31ef9885.tar.gz slx-admin-c21ffba60dc2c08efbe44220cacf14bd31ef9885.tar.xz slx-admin-c21ffba60dc2c08efbe44220cacf14bd31ef9885.zip |
[serversetup-pxelinux] Delete module
Unmaintained and untested for years now
Diffstat (limited to 'modules-available/serversetup-bwlp-pxelinux/hooks')
-rw-r--r-- | modules-available/serversetup-bwlp-pxelinux/hooks/ipxe-update.inc.php | 9 | ||||
-rw-r--r-- | modules-available/serversetup-bwlp-pxelinux/hooks/main-warning.inc.php | 6 |
2 files changed, 0 insertions, 15 deletions
diff --git a/modules-available/serversetup-bwlp-pxelinux/hooks/ipxe-update.inc.php b/modules-available/serversetup-bwlp-pxelinux/hooks/ipxe-update.inc.php deleted file mode 100644 index baa7a1bf..00000000 --- a/modules-available/serversetup-bwlp-pxelinux/hooks/ipxe-update.inc.php +++ /dev/null @@ -1,9 +0,0 @@ -<?php - -$data = Property::getBootMenu(); -$data['ipaddress'] = Property::getServerIp(); -$task = Taskmanager::submit('CompileIPxeLegacy', $data); -if (!isset($task['id'])) - return false; -Property::set('ipxe-task-id', $task['id'], 15); -return $task['id'];
\ No newline at end of file diff --git a/modules-available/serversetup-bwlp-pxelinux/hooks/main-warning.inc.php b/modules-available/serversetup-bwlp-pxelinux/hooks/main-warning.inc.php deleted file mode 100644 index a2eba6ff..00000000 --- a/modules-available/serversetup-bwlp-pxelinux/hooks/main-warning.inc.php +++ /dev/null @@ -1,6 +0,0 @@ -<?php - -if (!preg_match('/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/', Property::getServerIp())) { - Message::addError('serversetup.no-ip-addr-set', true); - $needSetup = true; -} |