mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-22 06:41:23 +00:00
12 lines
572 B
Diff
12 lines
572 B
Diff
--- ./init/main.c.orig 2014-01-18 19:45:47.563141094 -0700
|
|
+++ ./init/main.c 2014-01-18 19:54:46.596698283 -0700
|
|
@@ -871,7 +871,8 @@ static int __ref kernel_init(void *unuse
|
|
pr_err("Failed to execute %s (error %d). Attempting defaults...\n",
|
|
execute_command, ret);
|
|
}
|
|
- if (!try_to_run_init_process("/sbin/init") ||
|
|
+ if (!try_to_run_init_process("/usr/lib/systemd/systemd") ||
|
|
+ !try_to_run_init_process("/sbin/init") ||
|
|
!try_to_run_init_process("/etc/init") ||
|
|
!try_to_run_init_process("/bin/init") ||
|
|
!try_to_run_init_process("/bin/sh"))
|