1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-18 22:43:53 +01:00
openwrt/target/linux/s3c24xx/patches-2.6.28/002-call-preinit-instead-of-init.patch

11 lines
333 B
Diff
Raw Normal View History

2009-01-28 16:47:34 +01:00
--- 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");