From aa29418a13dc1e1eedca702663e733cc8d9f9859 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 21 Dec 2011 23:10:56 +0100 Subject: add builtin load/unload initializers --- udev/udevd.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'udev/udevd.c') 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) -- cgit v1.2.3-54-g00ecf