mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
ignore the bootloader's commandline on orion
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11591 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
11
target/linux/orion/patches/010-ignore_atag_cmdline.patch
Normal file
11
target/linux/orion/patches/010-ignore_atag_cmdline.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/arch/arm/kernel/setup.c
|
||||
+++ b/arch/arm/kernel/setup.c
|
||||
@@ -719,7 +719,7 @@
|
||||
|
||||
static int __init parse_tag_cmdline(const struct tag *tag)
|
||||
{
|
||||
- strlcpy(default_command_line, tag->u.cmdline.cmdline, COMMAND_LINE_SIZE);
|
||||
+// strlcpy(default_command_line, tag->u.cmdline.cmdline, COMMAND_LINE_SIZE);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user