summaryrefslogtreecommitdiffstats
path: root/modules-available
diff options
context:
space:
mode:
authorSimon Rettberg2026-01-28 12:08:52 +0100
committerSimon Rettberg2026-01-28 12:08:52 +0100
commitdcd4a0bc9f4378ca8edde73636585ead7d977c47 (patch)
treec38d8c10c0c0fab5bb8729f79a591a6e2f43ec50 /modules-available
parent[locationinfo] Tweak panel list layout (diff)
downloadslx-admin-dcd4a0bc9f4378ca8edde73636585ead7d977c47.tar.gz
slx-admin-dcd4a0bc9f4378ca8edde73636585ead7d977c47.tar.xz
slx-admin-dcd4a0bc9f4378ca8edde73636585ead7d977c47.zip
[serversetup-bwlp-ipxe] Fix: Don't clear screen between menus
Diffstat (limited to 'modules-available')
-rw-r--r--modules-available/serversetup-bwlp-ipxe/inc/scriptbuilderipxe.inc.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/inc/scriptbuilderipxe.inc.php b/modules-available/serversetup-bwlp-ipxe/inc/scriptbuilderipxe.inc.php
index ff01c388..a3781d54 100644
--- a/modules-available/serversetup-bwlp-ipxe/inc/scriptbuilderipxe.inc.php
+++ b/modules-available/serversetup-bwlp-ipxe/inc/scriptbuilderipxe.inc.php
@@ -113,7 +113,10 @@ HERE;
public function getMenu(IPxeMenu $menu, bool $bootstrap): string
{
if ($bootstrap) {
- return "#!ipxe\nimgfree ||\n" . $this->menuToScript($menu);
+ return "#!ipxe\nimgfree ||\n"
+ . "imgfetch --name bg-menu /tftp/pxe-menu.png ||\n"
+ . "console --left 55 --top 88 --right 63 --bottom 64 --keep --picture bg-menu ||\n"
+ . $this->menuToScript($menu);
}
$base = $this->getUrlFull();
return "#!ipxe\nset self {$base} ||\n" . $this->menuToScript($menu);
@@ -131,7 +134,6 @@ HERE;
:start
imgstat bg-menu || imgfetch --name bg-menu /tftp/pxe-menu.png ||
-console --left 55 --top 88 --right 63 --bottom 64 --keep --picture bg-menu ||
colour --rgb 0xffffff 7 ||
colour --rgb 0xcccccc 5 ||