From cb6268f41935a217f3694bf54f482d8770d8c3bc Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sat, 8 Aug 2009 22:59:41 +0200 Subject: [PATCH] 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. --- TODO | 2 -- udev/udevd.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/TODO b/TODO index ac9b738e..6a475365 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 4024460d..54064cbf 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) -- 2.39.5