summaryrefslogtreecommitdiffstats
path: root/modules-available
diff options
context:
space:
mode:
authorSimon Rettberg2018-09-13 16:10:09 +0200
committerSimon Rettberg2018-09-13 16:10:09 +0200
commit4242bf4439ed4c2466e1eac0f0e920d04870e210 (patch)
tree37c88583332bcbd71f6abd34356c5808a367dc43 /modules-available
parent[serversetup-bwlp] Fix some menu edit issues (diff)
downloadslx-admin-4242bf4439ed4c2466e1eac0f0e920d04870e210.tar.gz
slx-admin-4242bf4439ed4c2466e1eac0f0e920d04870e210.tar.xz
slx-admin-4242bf4439ed4c2466e1eac0f0e920d04870e210.zip
[serversetup-bwlp] Pass initrd= on KCL for EFI mode
Diffstat (limited to 'modules-available')
-rw-r--r--modules-available/serversetup-bwlp/inc/bootentry.inc.php3
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 f488959b..930f4413 100644
--- a/modules-available/serversetup-bwlp/inc/bootentry.inc.php
+++ b/modules-available/serversetup-bwlp/inc/bootentry.inc.php
@@ -135,8 +135,9 @@ class StandardBootEntry extends BootEntry
$script .= "-r ";
}
$script .= "{$this->executable}";
+ $rdBase = basename($this->initRd);
if (!empty($this->commandLine)) {
- $script .= " {$this->commandLine}";
+ $script .= " initrd=$rdBase {$this->commandLine}";
}
$script .= " || goto $failLabel\n";
if ($this->resetConsole) {