aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.29/002-call-preinit-instead-of-init.patch
blob: 8ab3a5ce325c73a3860d23552cb723678039be2f (plain)
1
2
3
4
5
6
7
8
9
10
--- a/init/main.c
+++ b/init/main.c
@@ -825,6 +825,7 @@ static int noinline init_post(void)
 		printk(KERN_WARNING "Failed to execute %s.  Attempting "
 					"defaults...\n", execute_command);
 	}
+	run_init_process("/etc/preinit");
 	run_init_process("/sbin/init");
 	run_init_process("/etc/init");
 	run_init_process("/bin/init");