diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-12-21 23:10:56 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-12-21 23:10:56 +0100 |
commit | aa29418a13dc1e1eedca702663e733cc8d9f9859 (patch) | |
tree | 9e72f070d6176c329c285fcd50b1661e7d8b337f /udev/udevd.c | |
parent | 81dadce58f80edae4dc45ba55a2c41cb0f26570b (diff) |
add builtin load/unload initializers
Diffstat (limited to 'udev/udevd.c')
-rw-r--r-- | udev/udevd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/udev/udevd.c b/udev/udevd.c index 05d4b2d66b..d1f7cd8909 100644 --- a/udev/udevd.c +++ b/udev/udevd.c @@ -1513,6 +1513,8 @@ int main(int argc, char *argv[]) } fd_worker = worker_watch[READ_END]; + udev_builtin_load(udev); + rules = udev_rules_new(udev, resolve_names); if (rules == NULL) { err(udev, "error reading rules\n"); @@ -1712,6 +1714,7 @@ exit_daemonize: worker_list_cleanup(udev); event_queue_cleanup(udev, EVENT_UNDEF); udev_rules_unref(rules); + udev_builtin_unload(udev); if (fd_signal >= 0) close(fd_signal); if (worker_watch[READ_END] >= 0) |