mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-10 17:24:05 +02:00
change kernel_args to kernel_cmdline for kernel command line override
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1321 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
86c8701b58
commit
beb8fd20e9
@ -12143,7 +12143,7 @@ diff -Nur linux-2.4.30/arch/mips/bcm947xx/setup.c linux-2.4.30-brcm/arch/mips/bc
|
||||
+#endif
|
||||
+
|
||||
+ /* Override default command line arguments */
|
||||
+ value = nvram_get("kernel_args");
|
||||
+ value = nvram_get("kernel_cmdline");
|
||||
+ if (value && strlen(value) && strncmp(value, "empty", 5))
|
||||
+ strncpy(arcs_cmdline, value, sizeof(arcs_cmdline));
|
||||
+
|
||||
|
Loading…
Reference in New Issue
Block a user