2013-04-03 10:00:50 +00:00
|
|
|
Index: linux-3.8.3/init/main.c
|
|
|
|
===================================================================
|
|
|
|
--- linux-3.8.3.orig/init/main.c 2013-04-02 21:43:30.000000000 +0200
|
|
|
|
+++ linux-3.8.3/init/main.c 2013-04-02 21:44:26.362130897 +0200
|
|
|
|
@@ -835,7 +835,8 @@
|
2013-01-08 22:19:31 +00:00
|
|
|
printk(KERN_WARNING "Failed to execute %s. Attempting "
|
|
|
|
"defaults...\n", execute_command);
|
|
|
|
}
|
|
|
|
- if (!run_init_process("/sbin/init") ||
|
2013-04-03 10:00:50 +00:00
|
|
|
+ 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"))
|