diff options
author | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-04-18 18:35:47 +0000 |
---|---|---|
committer | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-04-18 18:35:47 +0000 |
commit | af3243b5d52fcd97a24dfc6e28d8ac4d4c7bfdc3 (patch) | |
tree | c752890e176316502ae064e00342c64d54ffc8c8 /target/linux/generic-2.6/patches-2.6.34/999-use_preinit_as_init.patch | |
parent | 0fe492d30bcc484623460c11948831aabc055cbf (diff) |
kernel: refresh patches with 2.6.34-rc4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20999 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.34/999-use_preinit_as_init.patch')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.34/999-use_preinit_as_init.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.34/999-use_preinit_as_init.patch b/target/linux/generic-2.6/patches-2.6.34/999-use_preinit_as_init.patch index c1f8ef075..5499f75bc 100644 --- a/target/linux/generic-2.6/patches-2.6.34/999-use_preinit_as_init.patch +++ b/target/linux/generic-2.6/patches-2.6.34/999-use_preinit_as_init.patch @@ -1,6 +1,6 @@ --- a/init/main.c +++ b/init/main.c -@@ -831,10 +831,7 @@ static noinline int init_post(void) +@@ -842,10 +842,7 @@ static noinline int init_post(void) printk(KERN_WARNING "Failed to execute %s. Attempting " "defaults...\n", execute_command); } @@ -10,5 +10,5 @@ - run_init_process("/bin/sh"); + run_init_process("/etc/preinit"); - panic("No init found. Try passing init= option to kernel."); - } + panic("No init found. Try passing init= option to kernel. " + "See Linux Documentation/init.txt for guidance."); |