summaryrefslogtreecommitdiffstats
path: root/pxeserver.tpl
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2023-06-02 17:26:52 +0200
committer Eric Hameleers <alien@slackware.com>2023-06-02 17:26:52 +0200
commitc856d97cf314dff8d9606a8dae1d1868d7e21e68 (patch)
treeceb78d74dc31702411c90f26688ae2e40d9a39b9 /pxeserver.tpl
parent7d60743bc0038baccfa131eb5bfc957286b03362 (diff)
downloadliveslak-c856d97cf314dff8d9606a8dae1d1868d7e21e68.tar.gz
liveslak-c856d97cf314dff8d9606a8dae1d1868d7e21e68.tar.xz
pxeserver: allow to cancel starting the PXE server after configuring
Diffstat (limited to 'pxeserver.tpl')
-rwxr-xr-xpxeserver.tpl6
1 files changed, 5 insertions, 1 deletions
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: