From b35d46ab5a7c44ad12669d015fb189934393b39e Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 20 Mar 2019 12:29:32 +0100 Subject: [serversetup-bwlp-ipxe] api: Reset everything if serverip is missing --- modules-available/serversetup-bwlp-ipxe/api.inc.php | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit v1.2.3-55-g7522