projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package] base-files, ppp: fix interface shutdown
[openwrt.git]
/
target
/
linux
/
generic-2.6
/
patches-2.6.34
/
999-use_preinit_as_init.patch
diff --git
a/target/linux/generic-2.6/patches-2.6.34/999-use_preinit_as_init.patch
b/target/linux/generic-2.6/patches-2.6.34/999-use_preinit_as_init.patch
index
c1f8ef0
..
5499f75
100644
(file)
--- a/
target/linux/generic-2.6/patches-2.6.34/999-use_preinit_as_init.patch
+++ b/
target/linux/generic-2.6/patches-2.6.34/999-use_preinit_as_init.patch
@@
-1,6
+1,6
@@
--- a/init/main.c
+++ b/init/main.c
--- a/init/main.c
+++ b/init/main.c
-@@ -8
31,10 +831
,7 @@ static noinline int init_post(void)
+@@ -8
42,10 +842
,7 @@ static noinline int init_post(void)
printk(KERN_WARNING "Failed to execute %s. Attempting "
"defaults...\n", execute_command);
}
printk(KERN_WARNING "Failed to execute %s. Attempting "
"defaults...\n", execute_command);
}
@@
-10,5
+10,5
@@
- run_init_process("/bin/sh");
+ run_init_process("/etc/preinit");
- run_init_process("/bin/sh");
+ run_init_process("/etc/preinit");
- panic("No init found. Try passing init= option to kernel.
");
- }
+ panic("No init found. Try passing init= option to kernel.
"
+ "See Linux Documentation/init.txt for guidance.");
This page took
0.028079 seconds
and
4
git commands to generate.