use /etc/preinit on atheros-2.6
use /etc/preinit on atheros-2.6

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6452 3c298f89-4303-0410-b956-a3cf2f4a3e73

--- 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 @@
 	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)

comments