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

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

 



---
 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux