diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2005-03-07 00:01:34 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:51:00 -0700 |
commit | 56a8a624eef99f5324b54fad466b144aa4f882c2 (patch) | |
tree | e1d75b37648f8deb9a75cfb4312dcfb9d8681393 /udev.c | |
parent | 845d4751acc26596b827c937b84a9566cd050707 (diff) |
[PATCH] split udev and udevstart
Diffstat (limited to 'udev.c')
-rw-r--r-- | udev.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -130,17 +130,6 @@ int main(int argc, char *argv[], char *envp[]) /* trigger timeout to prevent hanging processes */ alarm(ALARM_TIMEOUT); - if (strstr(argv[0], "udevstart") || (argc == 2 && strstr(argv[1], "udevstart"))) { - dbg("udevstart"); - - /* disable all logging, as it's much too slow on some facilities */ - udev_log = 0; - - namedev_init(); - retval = udev_start(); - goto exit; - } - /* let the executed programs know if we handle the whole hotplug event */ managed_event = manage_hotplug_event(); if (managed_event) @@ -240,7 +229,6 @@ hotplug: if (udev_hotplug_d && managed_event) udev_multiplex_directory(&udev, HOTPLUGD_DIR, HOTPLUG_SUFFIX); -exit: logging_close(); return retval; } |