mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 02:48:26 +02:00
moko: preinit is in /etc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13762 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f9b2c701dd
commit
b594b547e6
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user