1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-28 18:30:37 +02:00
openwrt-xburst/target/linux/s3c24xx/patches-2.6.30/150-ignore-init-argument.patch
florian 93c2989706 [s3c24xx] refresh patches and fix build failure on wm8753-reg_cache.patch (#5641)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-08 18:56:14 +00:00

20 lines
656 B
Diff

--- a/init/main.c
+++ b/init/main.c
@@ -830,11 +830,11 @@ static noinline int init_post(void)
* The Bourne shell can be used instead of init if we are
* trying to recover a really broken machine.
*/
- if (execute_command) {
- run_init_process(execute_command);
- printk(KERN_WARNING "Failed to execute %s. Attempting "
- "defaults...\n", execute_command);
- }
+ //if (execute_command) {
+ // run_init_process(execute_command);
+ // printk(KERN_WARNING "Failed to execute %s. Attempting "
+ // "defaults...\n", execute_command);
+ //}
run_init_process("/etc/preinit");
panic("No init found. Try passing init= option to kernel.");