summaryrefslogtreecommitdiff
path: root/udev_rules.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-04-21 19:00:54 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-04-21 19:00:54 +0200
commitbf50425b58da6f112197f79241dd6d64af2e9ea7 (patch)
tree2e3f961beaff4d62404ae9191c4c8a996f608cbc /udev_rules.c
parent6b795c99e00c92dd29abafcc1022cace7bbcb795 (diff)
add OPTIONS+="event_timeout=<seconds>"
Diffstat (limited to 'udev_rules.c')
-rw-r--r--udev_rules.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/udev_rules.c b/udev_rules.c
index d476e699e4..55a079be87 100644
--- a/udev_rules.c
+++ b/udev_rules.c
@@ -1397,6 +1397,10 @@ int udev_rules_get_name(struct udev_rules *rules, struct udevice *udev)
udev->link_priority = rule->link_priority;
info("link_priority=%i\n", udev->link_priority);
}
+ if (rule->event_timeout >= 0) {
+ udev->event_timeout = rule->event_timeout;
+ info("event_timeout=%i\n", udev->event_timeout);
+ }
/* apply all_partitions option only at a main block device */
if (rule->partitions &&
strcmp(udev->dev->subsystem, "block") == 0 && udev->dev->kernel_number[0] == '\0') {