1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-05 05:31:53 +02:00
openwrt-xburst/target/linux/rdc/patches-2.6.24/005-cmdline_setup.patch
juhosg bff9e9b63b [rdc] refresh 2.6.24 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-08 19:17:40 +00:00

11 lines
307 B
Diff

--- a/arch/x86/kernel/setup_32.c
+++ b/arch/x86/kernel/setup_32.c
@@ -609,6 +609,7 @@ void __init setup_arch(char **cmdline_p)
print_memory_map("user");
}
+ strcat(boot_command_line, " init=/etc/preinit");
strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE);
*cmdline_p = command_line;