From 38c3ed204dee923377f4f22098cfb78998f1eead Mon Sep 17 00:00:00 2001 From: tsynik Date: Sat, 16 May 2015 13:27:44 +0200 Subject: [PATCH] long boot fix --- release/src/router/rc/init.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/release/src/router/rc/init.c b/release/src/router/rc/init.c index 143c5d0e7c..cccdc17f70 100644 --- a/release/src/router/rc/init.c +++ b/release/src/router/rc/init.c @@ -1363,9 +1363,6 @@ static void sysinit(void) #endif #ifdef LINUX26 - eval("hotplug2", "--coldplug"); - start_hotplug2(); - static const char *dn[] = { "null", "zero", "random", "urandom", "full", "ptmx", "nvram", NULL @@ -1383,6 +1380,11 @@ static void sysinit(void) putenv(defenv[i]); } +#ifdef LINUX26 + eval("hotplug2", "--coldplug"); + start_hotplug2(); +#endif + if (!noconsole) { printf("\n\nHit ENTER for console...\n\n"); run_shell(1, 0); -- 2.11.4.GIT