commit:     5d1a593d005a211eaf5b5b490fe394a71caacdd6
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Nov 10 01:12:12 2016 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Nov 10 01:12:12 2016 +0000
URL:        
https://gitweb.gentoo.org/proj/udev-gentoo-scripts.git/commit/?id=5d1a593d

udev-settle: use udevadm settle default timeout of 120 seconds

 conf.d/udev-settle | 2 +-
 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 $?
 }

Reply via email to