mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
http://patchwork.openwrt.org/patch/3485/ Signed-off-by: Michael Heimpold <mhei@heimpold.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36183 3c298f89-4303-0410-b956-a3cf2f4a3e73
15 lines
598 B
Diff
15 lines
598 B
Diff
Index: linux-3.8.3/init/main.c
|
|
===================================================================
|
|
--- linux-3.8.3.orig/init/main.c 2013-04-02 21:43:30.000000000 +0200
|
|
+++ linux-3.8.3/init/main.c 2013-04-02 21:44:26.362130897 +0200
|
|
@@ -835,7 +835,8 @@
|
|
printk(KERN_WARNING "Failed to execute %s. Attempting "
|
|
"defaults...\n", execute_command);
|
|
}
|
|
- if (!run_init_process("/sbin/init") ||
|
|
+ if (!run_init_process("/etc/preinit") ||
|
|
+ !run_init_process("/sbin/init") ||
|
|
!run_init_process("/etc/init") ||
|
|
!run_init_process("/bin/init") ||
|
|
!run_init_process("/bin/sh"))
|