kernel: upgrade to 2.6.30.8 and refresh patches
[openwrt/svn-archive/archive.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.");