aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2008-12-29 19:31:24 +0000
committerMichael Büsch <mb@bu3sch.de>2008-12-29 19:31:24 +0000
commit292ad735a6f4422ce689f885d308bf280859fc9c (patch)
treef8fd8794d9d411ceb1d3fa3ab3c65707c2bf986c /target/linux/s3c24xx
parenta04275e3df6408b2ff2c48d058aee613ec7167df (diff)
downloadupstream-292ad735a6f4422ce689f885d308bf280859fc9c.tar.gz
upstream-292ad735a6f4422ce689f885d308bf280859fc9c.tar.bz2
upstream-292ad735a6f4422ce689f885d308bf280859fc9c.zip
moko: preinit is in /etc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13762 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx')
-rw-r--r--target/linux/s3c24xx/patches-2.6.26/0500-call-preinit-instead-of-init.patch11
1 files changed, 6 insertions, 5 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
index 70ef012c35..7b43ea413b 100644
--- 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
@@ -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");