startup.patch 732 B

1234567891011121314151617181920
  1. diff -Nur linux-3.6.11.orig/init/main.c linux-3.6.11/init/main.c
  2. --- linux-3.6.11.orig/init/main.c 2012-12-17 18:27:45.000000000 +0100
  3. +++ linux-3.6.11/init/main.c 2013-07-16 11:34:37.000000000 +0200
  4. @@ -829,6 +829,7 @@
  5. printk(KERN_WARNING "Failed to execute %s. Attempting "
  6. "defaults...\n", execute_command);
  7. }
  8. + run_init_process("/init");
  9. run_init_process("/sbin/init");
  10. run_init_process("/etc/init");
  11. run_init_process("/bin/init");
  12. @@ -873,6 +874,8 @@
  13. if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0)
  14. printk(KERN_WARNING "Warning: unable to open an initial console.\n");
  15. + printk(KERN_WARNING "Starting Linux (built with OpenADK).\n");
  16. +
  17. (void) sys_dup(0);
  18. (void) sys_dup(0);
  19. /*