diff options
author | 2016-11-09 19:12:12 -0600 | |
---|---|---|
committer | 2016-11-09 19:12:12 -0600 | |
commit | 5d1a593d005a211eaf5b5b490fe394a71caacdd6 (patch) | |
tree | 7772f8647718712b2ab1a2533d1b46d61e09144a | |
parent | init.d/udev-settle: allow service to fail if udevadm fails (diff) | |
download | udev-gentoo-scripts-5d1a593d005a211eaf5b5b490fe394a71caacdd6.tar.gz udev-gentoo-scripts-5d1a593d005a211eaf5b5b490fe394a71caacdd6.tar.bz2 udev-gentoo-scripts-5d1a593d005a211eaf5b5b490fe394a71caacdd6.zip |
udev-settle: use udevadm settle default timeout of 120 seconds
-rw-r--r-- | conf.d/udev-settle | 2 | ||||
-rw-r--r-- | init.d/udev-settle | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/conf.d/udev-settle b/conf.d/udev-settle index b83580a..cb995e4 100644 --- a/conf.d/udev-settle +++ b/conf.d/udev-settle @@ -2,4 +2,4 @@ # Timeout in seconds to wait for processing of uevents at boot. # There should be no need to change this. -#udev_settle_timeout="60" +#udev_settle_timeout=120 diff --git a/init.d/udev-settle b/init.d/udev-settle index 93907f6..1a73105 100644 --- a/init.d/udev-settle +++ b/init.d/udev-settle @@ -13,6 +13,7 @@ depend() start() { ebegin "Waiting for uevents to be processed" - udevadm settle --timeout=${udev_settle_timeout:-60} + udevadm settle \ + ${udev_settle_timeout:+--timeout}=$udev_settle_timeout eend $? } |