1 Index: hotplug2-0.9/hotplug2.c
2 ===================================================================
3 --- hotplug2-0.9.orig/hotplug2.c 2007-06-04 13:21:41.134723240 +0200
4 +++ hotplug2-0.9/hotplug2.c 2007-06-04 13:21:41.203712752 +0200
8 char *coldplug_command = NULL;
9 + char *rules_file = HOTPLUG2_RULE_PATH;
12 struct rules_t *rules = NULL;
16 modprobe_command = *argv;
17 + } else if (!strcmp(*argv, "--set-rules-file")) {
31 - rule_fd = open(HOTPLUG2_RULE_PATH, O_RDONLY | O_NOATIME);
32 + rule_fd = open(rules_file, O_RDONLY | O_NOATIME);
35 ERROR("rules parse","Unable to open rules file: %s.", strerror(errno));