package/eudev: tweak initscript
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Mon, 20 Oct 2014 18:26:52 +0000 (15:26 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 22 Oct 2014 21:02:33 +0000 (23:02 +0200)
commit2f04a4ad6c20240a67dde097539aaa49cfa01527
treefd54552eac643beb791dd5c58529ef7455538be1
parentd3cc980903d6afaa9988145df39605a5038decbb
package/eudev: tweak initscript

Make the udev initscript trigger in a coherent way, i.e. first set
subsystems, then device and then let the whole thing settle.
Otherwise for usb_modeswitch udev rules they never kick in since the
storage aspect (device) gets claimed first and the switch ignored.
Also set the settle timeout to a smaller value than the default
120 seconds to avoid stalling too much.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/eudev/S10udev