summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-08-08 22:59:41 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-08-08 22:59:41 +0200
commitcb6268f41935a217f3694bf54f482d8770d8c3bc (patch)
tree6c80667c72422b6a6ba1eead28f79758e0d2f32d
parent09b9a97e1fcee61c3b6321bfb687a67cef53f066 (diff)
udevd: block for 15 seconds after error when too old kernel is detected
The compat code will go away some day and CONFIG_SYSFS_DEPRECATED kernels fail in too many setups now to be worth to support them.
-rw-r--r--TODO2
-rw-r--r--udev/udevd.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/TODO b/TODO
index ac9b738e60..6a475365be 100644
--- a/TODO
+++ b/TODO
@@ -1,8 +1,6 @@
o get rid of braindead "scan all devices to find myself" libusb interface
if it can not be fixed, drop libusb entirely
- o enumerate: sort control* after pcm*
- o add tests for kernel provided DEVNAME logic
o convert firmware.sh to C
o symlink names to udevadm will no longer be resolved to old command names
diff --git a/udev/udevd.c b/udev/udevd.c
index 4024460d4b..54064cbfcf 100644
--- a/udev/udevd.c
+++ b/udev/udevd.c
@@ -776,7 +776,7 @@ static void startup_log(struct udev *udev)
if (f != NULL)
fprintf(f, "<3>%s\n", depr_str);
err(udev, "%s\n", depr_str);
- sleep(3);
+ sleep(15);
}
if (f != NULL)