From c856d97cf314dff8d9606a8dae1d1868d7e21e68 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Fri, 2 Jun 2023 17:26:52 +0200 Subject: pxeserver: allow to cancel starting the PXE server after configuring --- pxeserver.tpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pxeserver.tpl') diff --git a/pxeserver.tpl b/pxeserver.tpl index 140a879..5b227c5 100755 --- a/pxeserver.tpl +++ b/pxeserver.tpl @@ -818,7 +818,11 @@ Press ENTER to return to the main menu." 14 68 Ready to start the PXE Server!\n\ The PXE server log will be displayed in the next screen. \n\ -Press ENTER to start." 14 68 +Press ENTER to start or ESCAPE to return to the main menu." 14 68 + if [ $? -ne 0 ]; then + # User did not press ENTER, let's return to main menu: + continue + fi fi # Time to start the BOOTP/TFTP/NFS servers: -- cgit v1.2.3