[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 06/15] Start udev from install init.



---
 loader2/init.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/loader2/init.c b/loader2/init.c
index d654d4c..e1ab65c 100644
--- a/loader2/init.c
+++ b/loader2/init.c
@@ -535,6 +535,11 @@ int main(int argc, char **argv) {
         if (mount("/dev", "/dev", "tmpfs", 0, NULL))
             fatal_error(1);
         createDevices();
+	printf("starting udev...");
+	if (fork() == 0) {
+	    execl("/sbin/udevd", "/sbin/udevd","--daemon",NULL);
+	    exit(1);
+	}
     }
     printf("done\n");
 
-- 
1.5.3.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]