summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup-bwlp-ipxe/inc/scriptbuilderipxe.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2021-04-27 16:14:45 +0200
committerSimon Rettberg2021-04-27 16:14:45 +0200
commit896772e3e6b48cd6f2a168b6f5a379267c782779 (patch)
treef1d7ff519e642873f4b82739c1c5624120160060 /modules-available/serversetup-bwlp-ipxe/inc/scriptbuilderipxe.inc.php
parent[rebootcontrol] Simple support for displaying SVG from stdout (diff)
downloadslx-admin-896772e3e6b48cd6f2a168b6f5a379267c782779.tar.gz
slx-admin-896772e3e6b48cd6f2a168b6f5a379267c782779.tar.xz
slx-admin-896772e3e6b48cd6f2a168b6f5a379267c782779.zip
[serversetup-bwlp-ipxe] Fix localboot via exit
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe/inc/scriptbuilderipxe.inc.php')
-rw-r--r--modules-available/serversetup-bwlp-ipxe/inc/scriptbuilderipxe.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/inc/scriptbuilderipxe.inc.php b/modules-available/serversetup-bwlp-ipxe/inc/scriptbuilderipxe.inc.php
index 385cd15f..e44bce76 100644
--- a/modules-available/serversetup-bwlp-ipxe/inc/scriptbuilderipxe.inc.php
+++ b/modules-available/serversetup-bwlp-ipxe/inc/scriptbuilderipxe.inc.php
@@ -166,7 +166,9 @@ HERE;
$output .= " selection || goto default || goto fail\n";
$output .= <<<HERE
console --left 60 --top 130 --right 67 --bottom 86 $slxConsoleUpdate ||
+set slx_exit \${} ||
chain -a \${self}&entryid=\${selection} ||
+iseq \${slx_exit} \${} || exit \${slx_exit}
goto fail || goto start
goto \${target} ||
echo Could not find menu entry in script.