mirror of https://github.com/hak5/openwrt-owl.git
2.6.27 also needs to hack the command line passed to the kernel
SVN-Revision: 15381owl
parent
2189d0cffc
commit
317bf46798
|
@ -0,0 +1,10 @@
|
||||||
|
--- a/arch/x86/kernel/setup.c 2009-04-24 11:37:41.000000000 +0200
|
||||||
|
+++ b/arch/x86/kernel/setup.c 2009-04-24 11:38:43.000000000 +0200
|
||||||
|
@@ -701,6 +701,7 @@
|
||||||
|
bss_resource.start = virt_to_phys(&__bss_start);
|
||||||
|
bss_resource.end = virt_to_phys(&__bss_stop)-1;
|
||||||
|
|
||||||
|
+ strcat(boot_command_line, " init=/etc/preinit console=ttyS0,38400");
|
||||||
|
strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE);
|
||||||
|
*cmdline_p = command_line;
|
||||||
|
|
Loading…
Reference in New Issue