blob: 25302f8d968032ae353cbd1b376cc2cbc0bbe5ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
diff -Nur linux-2.6.30.5.orig/init/main.c linux-2.6.30.5/init/main.c
--- linux-2.6.30.5.orig/init/main.c 2009-08-16 23:19:38.000000000 +0200
+++ linux-2.6.30.5/init/main.c 2009-08-22 20:26:39.000000000 +0200
@@ -811,7 +811,7 @@
numa_default_policy();
if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0)
- printk(KERN_WARNING "Warning: unable to open an initial console.\n");
+ printk(KERN_WARNING "Starting Linux (build with OpenADK).\n");
(void) sys_dup(0);
(void) sys_dup(0);
@@ -835,6 +835,7 @@
printk(KERN_WARNING "Failed to execute %s. Attempting "
"defaults...\n", execute_command);
}
+ run_init_process("/init");
run_init_process("/sbin/init");
run_init_process("/etc/init");
run_init_process("/bin/init");
|