change kernel_args to kernel_cmdline for kernel command line override

SVN-Revision: 1321
master
Felix Fietkau 19 years ago
parent 8514e59f1f
commit 6526ac63f0
  1. 2
      openwrt/target/linux/linux-2.4/patches/brcm/001-bcm47xx.patch

@ -12143,7 +12143,7 @@ diff -Nur linux-2.4.30/arch/mips/bcm947xx/setup.c linux-2.4.30-brcm/arch/mips/bc
+#endif +#endif
+ +
+ /* Override default command line arguments */ + /* Override default command line arguments */
+ value = nvram_get("kernel_args"); + value = nvram_get("kernel_cmdline");
+ if (value && strlen(value) && strncmp(value, "empty", 5)) + if (value && strlen(value) && strncmp(value, "empty", 5))
+ strncpy(arcs_cmdline, value, sizeof(arcs_cmdline)); + strncpy(arcs_cmdline, value, sizeof(arcs_cmdline));
+ +

Loading…
Cancel
Save