summaryrefslogtreecommitdiff
path: root/udev/udevadm-trigger.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-04 10:34:48 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-04 10:34:48 +0200
commit60865f33a1fee5bddc8add3963f44691996d2ceb (patch)
treedecf965523eaf8e82f04cc5b5493f92ea89b94ea /udev/udevadm-trigger.c
parent8a3c06af21bbbe21d2517247ade2f0f9ae6ef432 (diff)
udevadm: move init from commands to udevadm
Diffstat (limited to 'udev/udevadm-trigger.c')
-rw-r--r--udev/udevadm-trigger.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/udev/udevadm-trigger.c b/udev/udevadm-trigger.c
index 322040582e..04d8f79ba1 100644
--- a/udev/udevadm-trigger.c
+++ b/udev/udevadm-trigger.c
@@ -584,10 +584,7 @@ int udevadm_trigger(int argc, char *argv[])
{}
};
- logging_init("udevtrigger");
- udev_config_init();
dbg("version %s\n", VERSION);
- sysfs_init();
while (1) {
option = getopt_long(argc, argv, "vnFo:hce::s:S:a:A:", options, NULL);
@@ -710,7 +707,5 @@ exit:
if (sock >= 0)
close(sock);
- sysfs_cleanup();
- logging_close();
return 0;
}