summaryrefslogtreecommitdiff
path: root/udev_rules_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev_rules_parse.c')
-rw-r--r--udev_rules_parse.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/udev_rules_parse.c b/udev_rules_parse.c
index 36bf97177d..121236820b 100644
--- a/udev_rules_parse.c
+++ b/udev_rules_parse.c
@@ -375,6 +375,13 @@ static int rules_parse(const char *filename)
continue;
}
+ if (strcasecmp(key, KEY_IMPORT) == 0) {
+ strlcpy(rule.import, value, sizeof(rule.import));
+ rule.import_operation = operation;
+ valid = 1;
+ continue;
+ }
+
if (strcasecmp(key, KEY_DRIVER) == 0) {
strlcpy(rule.driver, value, sizeof(rule.driver));
rule.driver_operation = operation;