mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
b8af58d3e7
SVN-Revision: 17182
20 lines
656 B
Diff
20 lines
656 B
Diff
--- a/init/main.c
|
|
+++ b/init/main.c
|
|
@@ -830,11 +830,11 @@ static noinline int init_post(void)
|
|
* The Bourne shell can be used instead of init if we are
|
|
* trying to recover a really broken machine.
|
|
*/
|
|
- if (execute_command) {
|
|
- run_init_process(execute_command);
|
|
- printk(KERN_WARNING "Failed to execute %s. Attempting "
|
|
- "defaults...\n", execute_command);
|
|
- }
|
|
+ //if (execute_command) {
|
|
+ // run_init_process(execute_command);
|
|
+ // printk(KERN_WARNING "Failed to execute %s. Attempting "
|
|
+ // "defaults...\n", execute_command);
|
|
+ //}
|
|
run_init_process("/etc/preinit");
|
|
|
|
panic("No init found. Try passing init= option to kernel.");
|