summaryrefslogtreecommitdiff
path: root/udev.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-03-07 00:01:34 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:51:00 -0700
commit56a8a624eef99f5324b54fad466b144aa4f882c2 (patch)
treee1d75b37648f8deb9a75cfb4312dcfb9d8681393 /udev.c
parent845d4751acc26596b827c937b84a9566cd050707 (diff)
[PATCH] split udev and udevstart
Diffstat (limited to 'udev.c')
-rw-r--r--udev.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/udev.c b/udev.c
index 76de8181d1..c9461469e5 100644
--- a/udev.c
+++ b/udev.c
@@ -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;
}