package: kernel: add handling for 3.2 renames (and some missed ones for 3.1)
[openwrt.git] / target / linux / generic / patches-2.6.36 / 999-use_preinit_as_init.patch
1 --- a/init/main.c
2 +++ b/init/main.c
3 @@ -848,10 +848,7 @@ static noinline int init_post(void)
4 printk(KERN_WARNING "Failed to execute %s. Attempting "
5 "defaults...\n", execute_command);
6 }
7 - run_init_process("/sbin/init");
8 - run_init_process("/etc/init");
9 - run_init_process("/bin/init");
10 - run_init_process("/bin/sh");
11 + run_init_process("/etc/preinit");
12
13 panic("No init found. Try passing init= option to kernel. "
14 "See Linux Documentation/init.txt for guidance.");
This page took 0.050855 seconds and 5 git commands to generate.