diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-08-08 22:59:41 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-08-08 22:59:41 +0200 |
commit | cb6268f41935a217f3694bf54f482d8770d8c3bc (patch) | |
tree | 6c80667c72422b6a6ba1eead28f79758e0d2f32d | |
parent | 09b9a97e1fcee61c3b6321bfb687a67cef53f066 (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-- | TODO | 2 | ||||
-rw-r--r-- | udev/udevd.c | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -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) |