moko: preinit is in /etc
authorMichael Büsch <mb@bu3sch.de>
Mon, 29 Dec 2008 19:31:24 +0000 (19:31 +0000)
committerMichael Büsch <mb@bu3sch.de>
Mon, 29 Dec 2008 19:31:24 +0000 (19:31 +0000)
SVN-Revision: 13762

target/linux/s3c24xx/patches-2.6.26/0500-call-preinit-instead-of-init.patch

index 70ef012c35495869a14bb3f59268a0ea05a0a907..7b43ea413bdf1f951626e3899cf4249f8b80ef49 100644 (file)
@@ -1,11 +1,12 @@
-diff -ruN linux-2.6.26.orig/init/main.c linux-2.6.26/init/main.c
---- linux-2.6.26.orig/init/main.c      2008-12-13 02:37:23.000000000 +0100
-+++ linux-2.6.26/init/main.c   2008-12-13 02:40:28.000000000 +0100
-@@ -827,6 +827,7 @@
+Index: linux-2.6.26/init/main.c
+===================================================================
+--- linux-2.6.26.orig/init/main.c      2008-12-29 19:55:54.000000000 +0100
++++ linux-2.6.26/init/main.c   2008-12-29 20:14:45.000000000 +0100
+@@ -827,6 +827,7 @@ static int noinline init_post(void)
                printk(KERN_WARNING "Failed to execute %s.  Attempting "
                                        "defaults...\n", execute_command);
        }
-+      run_init_process("/sbin/preinit");
++      run_init_process("/etc/preinit");
        run_init_process("/sbin/init");
        run_init_process("/etc/init");
        run_init_process("/bin/init");