Seems to be most appropriate...
Signed-off-by: Michal Soltys <soltys@ziu.info>
wait_key();
}
- if (ndata && !opt.stop) /* boot only if we actually chainload */
+ if (ndata && !opt.brkchain) /* boot only if we actually chainload */
do_boot(data, ndata);
else
error("Service-only run completed, exiting.\n");
nokeeppxe Keep the PXE and UNDI stacks in memory (PXELINUX)\n\
nowarn Wait for a keypress to continue chainloading\n\
- useful to see emited warnings\n\
- nostop Actually perform the chainloading\n\
+ nobreak Actually perform the chainloading\n\
", "\
\nOptions continued ...\n\
file=<file> Load and execute <file>\n\
void opt_set_defs(void)
{
memset(&opt, 0, sizeof(opt));
- opt.sect = true; /* by def. load sector */
- opt.maps = true; /* by def. map sector */
- opt.hand = true; /* by def. prepare handover */
- opt.stop = false; /* by def. do chainload */
+ opt.sect = true; /* by def. load sector */
+ opt.maps = true; /* by def. map sector */
+ opt.hand = true; /* by def. prepare handover */
+ opt.brkchain = false; /* by def. do chainload */
opt.foff = opt.soff = opt.fip = opt.sip = 0x7C00;
opt.drivename = "boot";
#ifdef DEBUG
opt.warn = true;
} else if (!strcmp(argv[i], "nowarn")) {
opt.warn = false;
- } else if (!strcmp(argv[i], "nostop")) {
- opt.stop = false;
- } else if (!strcmp(argv[i], "stop")) {
- opt.stop = true;
+ } else if (!strcmp(argv[i], "nobreak")) {
+ opt.brkchain = false;
+ } else if (!strcmp(argv[i], "break")) {
+ opt.brkchain = true;
opt.file = NULL;
opt.maps = false;
opt.hand = false;
bool filebpb;
bool fixchs;
bool warn;
- bool stop;
+ bool brkchain;
uint16_t keeppxe;
struct syslinux_rm_regs regs;
};
A "service-only" run is possible when either:
-- 'stop' is in effect
+- 'break' is in effect
or
This is useful for invocations such as:
-chain.c32 hdN M setbpb save stop
-chain.c32 hdN fixchs stop
-chain.c32 hdN unhideall stop
+chain.c32 hdN M setbpb save break
+chain.c32 hdN fixchs break
+chain.c32 hdN unhideall break
Please see respective options for more details.
This option will wait for a keypress right before continuing the chainloading.
Useful to see warnings emited by the chain module.
- *nostop
- stop
- stop sets: nofile nomaps nohand
+ *nobreak
+ break
+ break sets: nofile nomaps nohand
It is possible to trigger a "service-only" run - The chain module will do
everything requested as usual, but it will not perform the actual chainloading.
-'stop' option disables handover, file loading and sector mapping, as these
+'break' option disables handover, file loading and sector mapping, as these
are pointless in such scenario (although file might be reenabled in some future
version, if writing to actual files becomes possible). Mainly useful for
options 'fixchs', '[un]hide[all]' and setbpb.