2013-05-20 02:36:15 +08:00
|
|
|
--- a/init/main.c
|
|
|
|
+++ b/init/main.c
|
2013-10-23 20:51:05 +08:00
|
|
|
@@ -840,7 +840,8 @@ static int __ref kernel_init(void *unuse
|
2013-05-20 02:36:15 +08:00
|
|
|
pr_err("Failed to execute %s. Attempting defaults...\n",
|
|
|
|
execute_command);
|
|
|
|
}
|
|
|
|
- if (!run_init_process("/sbin/init") ||
|
|
|
|
+ if (!run_init_process("/etc/preinit") ||
|
|
|
|
+ !run_init_process("/sbin/init") ||
|
|
|
|
!run_init_process("/etc/init") ||
|
|
|
|
!run_init_process("/bin/init") ||
|
|
|
|
!run_init_process("/bin/sh"))
|