diff options
author | Seblu <seblu@seblu.net> | 2011-03-04 16:35:11 +0100 |
---|---|---|
committer | Seblu <seblu@seblu.net> | 2011-03-16 16:59:55 +0100 |
commit | 823c19d1df22d587bce56a363e371d0e9d269c8d (patch) | |
tree | 4e3d0cd8a19795d574a46a5b93c6224eb53a3251 | |
parent | b77f6400bd105dae85ed4b9bcb57776855e881a5 (diff) |
Add UDEV_TIMEOUT option
This allow to set a custom timeout for udev events processing.
Close FS#20764
Signed-off-by: Seblu <seblu@seblu.net>
-rw-r--r-- | rc.conf | 3 | ||||
-rwxr-xr-x | rc.sysinit | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -36,6 +36,9 @@ USECOLOR="yes" MOD_AUTOLOAD="yes" MODULES=() +# Udev settle timeout (default to 30) +UDEV_TIMEOUT=30 + # Scan for SoftRAID (mdadm) Volumes at startup USEMDADM="no" @@ -101,7 +101,7 @@ unset mods # Wait for udev uevents if /bin/pidof -o %PPID /sbin/udevd >/dev/null; then stat_busy "Waiting for UDev uevents to be processed" - /sbin/udevadm settle + /sbin/udevadm settle --quiet --timeout=${UDEV_TIMEOUT:-30} /sbin/udevadm control --property=STARTUP= stat_done fi |