summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup-bwlp-ipxe/api.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2019-03-20 12:29:32 +0100
committerSimon Rettberg2019-03-20 12:29:32 +0100
commitb35d46ab5a7c44ad12669d015fb189934393b39e (patch)
tree540a223c0b7dab5cccdb27a9d3bd00b848d96262 /modules-available/serversetup-bwlp-ipxe/api.inc.php
parent[serversetup-bwlp-ipxe] Filter a few more bogus model names (diff)
downloadslx-admin-b35d46ab5a7c44ad12669d015fb189934393b39e.tar.gz
slx-admin-b35d46ab5a7c44ad12669d015fb189934393b39e.tar.xz
slx-admin-b35d46ab5a7c44ad12669d015fb189934393b39e.zip
[serversetup-bwlp-ipxe] api: Reset everything if serverip is missing
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe/api.inc.php')
-rw-r--r--modules-available/serversetup-bwlp-ipxe/api.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/api.inc.php b/modules-available/serversetup-bwlp-ipxe/api.inc.php
index fa7cf523..0d59ea1d 100644
--- a/modules-available/serversetup-bwlp-ipxe/api.inc.php
+++ b/modules-available/serversetup-bwlp-ipxe/api.inc.php
@@ -191,6 +191,10 @@ cpair --foreground 7 --background 9 0
:slx_menu
+iseq \${serverip} \${} || goto ip_check_ok
+goto init
+:ip_check_ok
+
console --left 55 --top 88 --right 63 --bottom 64 $slxConsoleUpdate --keep --picture bg-menu ||
HERE;