File own_params.patch of Package firmwarekit

---
 main.c |   34 ++++++++++++++++++++++++++++++++--
 1 file changed, 32 insertions(+), 2 deletions(-)

Index: firmwarekit/main.c
===================================================================
--- firmwarekit.orig/main.c
+++ firmwarekit/main.c
@@ -76,6 +76,16 @@ static void parse_kernel_param(const cha
 		use_serial=1;
 	}
 
+	/* Biostest got booted -> setup sshd */
+	if (strstr(buffer, "install=exec:run_biostest")){
+	}
+
+	if (strstr(buffer, "-h") || strstr(buffer, "--help")){
+		fprintf(stdout, "biostest [ -h ] [ safemode ] [ noninteractive ]"
+			" [ saveovernet=host:/dest ]\n");
+		exit(EXIT_SUCCESS);
+	}
+
 	/* parse safemode boot param */
 	if (strstr(buffer, "safemode"))
 		safe_mode=1;
@@ -173,8 +183,9 @@ int main(int argc, char **argv)
 	 * serial.  This can also be set by func()
 	 * parse_kernel_param if it's in the kernel
 	 * cmdline options */
-	if (argc>1 && strstr(argv[1],"serial"))
-		use_serial = 1;
+	int x;
+	for (x = 1; x < argc; x++)
+		parse_kernel_param(argv[x]);
 
 	/* initialize serial output (if enabled) 
 	 * (implemented in serial.c) */