mirror of https://github.com/hak5/openwrt.git
11 lines
333 B
Diff
11 lines
333 B
Diff
--- a/init/main.c
|
|
+++ b/init/main.c
|
|
@@ -825,6 +825,7 @@ static int noinline init_post(void)
|
|
printk(KERN_WARNING "Failed to execute %s. Attempting "
|
|
"defaults...\n", execute_command);
|
|
}
|
|
+ run_init_process("/etc/preinit");
|
|
run_init_process("/sbin/init");
|
|
run_init_process("/etc/init");
|
|
run_init_process("/bin/init");
|