1 diff -ur hotplug2.old/hotplug2.c hotplug2.dev/hotplug2.c
2 --- hotplug2.old/hotplug2.c 2006-10-08 15:18:23.000000000 +0200
3 +++ hotplug2.dev/hotplug2.c 2007-05-05 11:38:51.456551560 +0200
7 char *coldplug_command = NULL;
8 + char *rules_file = HOTPLUG2_RULE_PATH;
11 struct rules_t *rules = NULL;
15 modprobe_command = *argv;
16 + } else if (!strcmp(*argv, "--set-rules-file")) {
30 - rule_fd = open(HOTPLUG2_RULE_PATH, O_RDONLY | O_NOATIME);
31 + rule_fd = open(rules_file, O_RDONLY | O_NOATIME);
34 ERROR("rules parse","Unable to open rules file: %s.", strerror(errno));