diff options
author | mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-12-13 20:48:39 +0000 |
---|---|---|
committer | mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-12-13 20:48:39 +0000 |
commit | 4f7d66eed3d4d8ec9f6d7bd9714e292e58121812 (patch) | |
tree | 76d1c76c48d28a4ad3900d018e6b34320bc96273 /target | |
parent | a95f9f92e2953d5829a29e95644dc4c4bc93f590 (diff) |
call preinit instead of init
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13624 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/s3c24xx/patches-2.6.26/0500-call-preinit-instead-of-init.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.26/0500-call-preinit-instead-of-init.patch b/target/linux/s3c24xx/patches-2.6.26/0500-call-preinit-instead-of-init.patch new file mode 100644 index 000000000..70ef012c3 --- /dev/null +++ b/target/linux/s3c24xx/patches-2.6.26/0500-call-preinit-instead-of-init.patch @@ -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"); |