Displaying 5 results from an estimated 5 matches for "auto_boot".
Did you mean:
  auto_reboot
  
2012 May 04
3
[GIT PULL] elflink fixes
..._unused)
 		 * We apparently have a boot-once set; clear it and
 		 * then execute the boot-once.
 		 */
-		const char *cmdline;
 		char *src, *dst;
 		size_t i;
 
@@ -270,12 +272,14 @@ int main(int argc __unused, char **argv __unused)
 	if (forceprompt)
 		goto cmdline;
 
+	cmdline = default_cmd;
+auto_boot:
 	/*
 	 * Auto boot
 	 */
 	if (defaultlevel || noescape) {
 		if (defaultlevel) {
-			load_kernel(default_cmd); /* Shouldn't return */
+			load_kernel(cmdline); /* Shouldn't return */
 		} else {
 			printf("No DEFAULT or UI configuration directive found!\n");
 
@@ -285,8 +289,1...
2002 Feb 26
0
syslinux timeout
...ov [ForcePrompt],bx
 		jmp short parse_config_2
 
@@ -1454,22 +1468,25 @@
 ;
 ; Check whether or not we are supposed to display the boot prompt.
 ;
 check_for_key:
 		cmp word [ForcePrompt],byte 0	; Force prompt?
 		jnz enter_command
 		test byte [KbdFlags],5Bh	; Caps, Scroll, Shift, Alt
 		jz near auto_boot		; If neither, default boot
 
 enter_command:
-		mov si,boot_prompt
-		call cwritestr
+		; DTM BEGIN ------------------------------------------------
+		;;mov si,boot_prompt
+		;;call cwritestr
+		call writeprompt
+		; DTM END --------------------------------------------------
 
 		mov byte [FuncFl...
2012 Sep 04
0
[PATCH] console: Close stdin, stdout, stderr on ldlinux.c32 unload
...|    2 --
 5 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/com32/elflink/ldlinux/ldlinux.c b/com32/elflink/ldlinux/ldlinux.c
index 1c261cd..f82b166 100644
--- a/com32/elflink/ldlinux/ldlinux.c
+++ b/com32/elflink/ldlinux/ldlinux.c
@@ -252,6 +252,18 @@ cmdline:
 
 	goto auto_boot;
 }
+
+/*
+ * Undo the work we did in openconsole().
+ */
+static void __destructor close_console(void)
+{
+	int i;
+
+	for (i = 0; i <= 2; i++)
+		close(i);
+}
+
 int main(int argc __unused, char **argv __unused)
 {
 	const void *adv;
diff --git a/com32/lib/Makefile b/com32/lib/Makefile
index 5...
2012 Nov 02
10
[PATCH 0/9] elflink fixes
From: Matt Fleming <matt.fleming at intel.com>
Here are the patches that I've got queued up based on the very helpful
feedback I received from people testing Syslinux 5.00-pre9. Unless
anyone has any concerns these will make it into Syslinux 5.00-pre10.
Matt Fleming (9):
  pxe: Don't call open_config() from the pxe core
  ldlinux: Print a warning if no config file is found
 
2012 Aug 14
1
[GIT PULL] elflink fixes
..., "%s %s", onerror, default_cmd);
-		execute(cmdline, KT_COM32);
+		execute(cmdline, IMAGE_TYPE_COM32);
 	}
 }
 
@@ -225,6 +223,35 @@ static void enter_cmdline(void)
 	}
 }
 
+void ldlinux_enter_command(bool prompt)
+{
+	const char *cmdline = default_cmd;
+
+	if (prompt)
+		goto cmdline;
+auto_boot:
+	/*
+	 * Auto boot
+	 */
+	if (defaultlevel || noescape) {
+		if (defaultlevel) {
+			load_kernel(cmdline); /* Shouldn't return */
+		} else {
+			printf("No DEFAULT or UI configuration directive found!\n");
+
+			if (noescape)
+				kaboom();
+		}
+	}
+
+cmdline:
+	/* Only returns i...