source: trunk/target/linux/generic/patches-2.6.35/999-use_preinit_as_init.patch @ 22530

Last change on this file since 22530 was 22252, checked in by hauke, 6 years ago

kernel: refresh patches

File size: 489 bytes
  • init/main.c

    a b static noinline int init_post(void) 
    854854                printk(KERN_WARNING "Failed to execute %s.  Attempting " 
    855855                                        "defaults...\n", execute_command); 
    856856        } 
    857         run_init_process("/sbin/init"); 
    858         run_init_process("/etc/init"); 
    859         run_init_process("/bin/init"); 
    860         run_init_process("/bin/sh"); 
     857        run_init_process("/etc/preinit"); 
    861858 
    862859        panic("No init found.  Try passing init= option to kernel. " 
    863860              "See Linux Documentation/init.txt for guidance."); 
Note: See TracBrowser for help on using the repository browser.