diff options
author | Simon Rettberg | 2019-02-12 14:35:49 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-02-12 14:35:49 +0100 |
commit | 2d64b9d8f57f28456eb27c4aed2dde26201b6770 (patch) | |
tree | 62d1073b0d401408dd43e0d3731475c9829424a1 /modules-available/serversetup-bwlp/inc/bootentry.inc.php | |
parent | [serversetup-bwlp] Fix case of platform var (diff) | |
download | slx-admin-2d64b9d8f57f28456eb27c4aed2dde26201b6770.tar.gz slx-admin-2d64b9d8f57f28456eb27c4aed2dde26201b6770.tar.xz slx-admin-2d64b9d8f57f28456eb27c4aed2dde26201b6770.zip |
[serversetup-bwlp] Auto-import of old PXELinux config on bootup
Also minor improvements to UI and structuring
Diffstat (limited to 'modules-available/serversetup-bwlp/inc/bootentry.inc.php')
-rw-r--r-- | modules-available/serversetup-bwlp/inc/bootentry.inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules-available/serversetup-bwlp/inc/bootentry.inc.php b/modules-available/serversetup-bwlp/inc/bootentry.inc.php index 010b660c..69adffd3 100644 --- a/modules-available/serversetup-bwlp/inc/bootentry.inc.php +++ b/modules-available/serversetup-bwlp/inc/bootentry.inc.php @@ -95,7 +95,7 @@ class StandardBootEntry extends BootEntry protected $replace; protected $autoUnload; protected $resetConsole; - protected $arch; // true == available, false == not available + protected $arch; // Constants below const BIOS = 'PCBIOS'; // Only valid for legacy BIOS boot const EFI = 'EFI'; // Only valid for EFI boot @@ -105,6 +105,7 @@ class StandardBootEntry extends BootEntry public function __construct($data = false) { if ($data instanceof PxeSection) { + // Gets arrayfied below $this->executable = $data->kernel; $this->initRd = $data->initrd; $this->commandLine = ' ' . str_replace('vga=current', '', $data->append) . ' '; |