diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-11-05 20:00:31 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-11-05 20:00:31 +0100 |
commit | 287814b23cd564043391ce449f27e6ccd9d244e4 (patch) | |
tree | f55b43012e145fbcfa3cbaf9945cadfe4a45c531 /udevd.c | |
parent | 3904a7581776cffc7ddaf4adbfbea8a57ab1adaa (diff) |
remove precompiled rules option
It was a workaround for speed up udev "coldplug", where ~800 events
happened a second time during bootup. No need for it with the rules
aleady parsed in the daemon.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udevd.c')
-rw-r--r-- | udevd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -880,7 +880,7 @@ int main(int argc, char *argv[], char *envp[]) } /* parse the rules and keep it in memory */ - udev_rules_init(&rules, 0, 1); + udev_rules_init(&rules, 1); if (daemonize) { pid_t pid; @@ -1065,7 +1065,7 @@ int main(int argc, char *argv[], char *envp[]) if (reload_config) { reload_config = 0; udev_rules_close(&rules); - udev_rules_init(&rules, 0, 1); + udev_rules_init(&rules, 1); } /* forked child have returned */ |