From 476b993379210c4e3a760564fc0614f1cb63b521 Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Thu, 14 May 2009 10:20:53 +0000 Subject: make kernels use /etc/preinit by default git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15840 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ifxmips/config-2.6.26 | 2 +- target/linux/ifxmips/config-2.6.27 | 2 +- target/linux/ifxmips/config-2.6.28 | 2 +- target/linux/ifxmips/files/arch/mips/ifxmips/prom.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'target/linux/ifxmips') diff --git a/target/linux/ifxmips/config-2.6.26 b/target/linux/ifxmips/config-2.6.26 index 0f7a1d26d1..d4f576be01 100644 --- a/target/linux/ifxmips/config-2.6.26 +++ b/target/linux/ifxmips/config-2.6.26 @@ -14,7 +14,7 @@ CONFIG_BITREVERSE=y # CONFIG_BT is not set CONFIG_CEVT_R4K=y CONFIG_CLASSIC_RCU=y -CONFIG_CMDLINE="console=ttyS0,9600 rootfstype=squashfs,jffs2 init=/etc/preinit" +CONFIG_CMDLINE="console=ttyS0,9600 rootfstype=squashfs,jffs2" CONFIG_CPU_BIG_ENDIAN=y CONFIG_CPU_HAS_LLSC=y CONFIG_CPU_HAS_PREFETCH=y diff --git a/target/linux/ifxmips/config-2.6.27 b/target/linux/ifxmips/config-2.6.27 index e5eabb1c47..4e114543bb 100644 --- a/target/linux/ifxmips/config-2.6.27 +++ b/target/linux/ifxmips/config-2.6.27 @@ -14,7 +14,7 @@ CONFIG_BITREVERSE=y # CONFIG_BT is not set CONFIG_CEVT_R4K=y CONFIG_CLASSIC_RCU=y -CONFIG_CMDLINE="console=ttyS0,9600 rootfstype=squashfs,jffs2 init=/etc/preinit" +CONFIG_CMDLINE="console=ttyS0,9600 rootfstype=squashfs,jffs2" CONFIG_CPU_BIG_ENDIAN=y CONFIG_CPU_HAS_LLSC=y CONFIG_CPU_HAS_PREFETCH=y diff --git a/target/linux/ifxmips/config-2.6.28 b/target/linux/ifxmips/config-2.6.28 index 3a13fdb2fc..75dd6d5b5a 100644 --- a/target/linux/ifxmips/config-2.6.28 +++ b/target/linux/ifxmips/config-2.6.28 @@ -12,7 +12,7 @@ CONFIG_BASE_SMALL=0 CONFIG_BITREVERSE=y CONFIG_CEVT_R4K=y CONFIG_CLASSIC_RCU=y -CONFIG_CMDLINE="console=ttyS0,9600 rootfstype=squashfs,jffs2 init=/etc/preinit" +CONFIG_CMDLINE="console=ttyS0,9600 rootfstype=squashfs,jffs2" CONFIG_CPU_BIG_ENDIAN=y CONFIG_CPU_HAS_LLSC=y CONFIG_CPU_HAS_PREFETCH=y diff --git a/target/linux/ifxmips/files/arch/mips/ifxmips/prom.c b/target/linux/ifxmips/files/arch/mips/ifxmips/prom.c index 9fbd4e457e..efd472fb0e 100644 --- a/target/linux/ifxmips/files/arch/mips/ifxmips/prom.c +++ b/target/linux/ifxmips/files/arch/mips/ifxmips/prom.c @@ -127,7 +127,7 @@ void __init prom_init(void) } if (!*arcs_cmdline) strcpy(&(arcs_cmdline[0]), - "console=ttyS0,115200 rootfstype=squashfs,jffs2 init=/etc/preinit"); + "console=ttyS0,115200 rootfstype=squashfs,jffs2"); } envp = (char **)KSEG1ADDR((unsigned long)envp); while (*envp) { -- cgit v1.2.3