7b43ea413bdf1f951626e3899cf4249f8b80ef49
[openwrt/openwrt.git] / target / linux / s3c24xx / patches-2.6.26 / 0500-call-preinit-instead-of-init.patch
1 Index: linux-2.6.26/init/main.c
2 ===================================================================
3 --- linux-2.6.26.orig/init/main.c 2008-12-29 19:55:54.000000000 +0100
4 +++ linux-2.6.26/init/main.c 2008-12-29 20:14:45.000000000 +0100
5 @@ -827,6 +827,7 @@ static int noinline init_post(void)
6 printk(KERN_WARNING "Failed to execute %s. Attempting "
7 "defaults...\n", execute_command);
8 }
9 + run_init_process("/etc/preinit");
10 run_init_process("/sbin/init");
11 run_init_process("/etc/init");
12 run_init_process("/bin/init");