From: nbd Date: Fri, 2 Mar 2007 01:39:14 +0000 (+0000) Subject: use /etc/preinit on atheros-2.6 X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=5ebab881cae321bc8d7fc543d0255d204a27eaa8 use /etc/preinit on atheros-2.6 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6452 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/atheros-2.6/files/arch/mips/atheros/prom.c b/target/linux/atheros-2.6/files/arch/mips/atheros/prom.c index 5a4ee63b2..45f4db9e1 100644 --- a/target/linux/atheros-2.6/files/arch/mips/atheros/prom.c +++ b/target/linux/atheros-2.6/files/arch/mips/atheros/prom.c @@ -34,7 +34,7 @@ void __init prom_init(void) DO_AR5312(ar5312_prom_init();) DO_AR5315(ar5315_prom_init();) - strcpy(arcs_cmdline, "console=ttyS0,9600 rootfstype=squashfs,jffs2"); + strcpy(arcs_cmdline, "console=ttyS0,9600 rootfstype=squashfs,jffs2 init=/etc/preinit"); } void __init prom_free_prom_memory(void)