1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 21:09:53 +02:00

call preinit instead of init

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13624 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mirko 2008-12-13 20:48:39 +00:00
parent a95f9f92e2
commit 4f7d66eed3

View File

@ -0,0 +1,11 @@
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 @@
printk(KERN_WARNING "Failed to execute %s. Attempting "
"defaults...\n", execute_command);
}
+ run_init_process("/sbin/preinit");
run_init_process("/sbin/init");
run_init_process("/etc/init");
run_init_process("/bin/init");