ar71xx: enable myloader partition parser on 2.6.30 and 2.6.31
[openwrt.git] / target / linux / s3c24xx / patches-2.6.30 / 150-ignore-init-argument.patch
1 --- a/init/main.c
2 +++ b/init/main.c
3 @@ -831,11 +831,11 @@ static noinline int init_post(void)
4 * The Bourne shell can be used instead of init if we are
5 * trying to recover a really broken machine.
6 */
7 - if (execute_command) {
8 - run_init_process(execute_command);
9 - printk(KERN_WARNING "Failed to execute %s. Attempting "
10 - "defaults...\n", execute_command);
11 - }
12 + //if (execute_command) {
13 + // run_init_process(execute_command);
14 + // printk(KERN_WARNING "Failed to execute %s. Attempting "
15 + // "defaults...\n", execute_command);
16 + //}
17 run_init_process("/etc/preinit");
18
19 panic("No init found. Try passing init= option to kernel.");
This page took 0.043022 seconds and 5 git commands to generate.