projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b08fd56
)
udev: process udev events on startup in init.d script
author
Jonathan Liu
<net147@gmail.com>
Fri, 27 Jul 2012 14:03:58 +0000
(
00:03
+1000)
committer
Thomas Petazzoni
<thomas.petazzoni@free-electrons.com>
Mon, 30 Jul 2012 19:18:09 +0000
(21:18 +0200)
udev rules are not processed for kernel events that occur before
the udev daemon is started. Call udevadm trigger to replay these
missed events.
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/udev/S10udev
patch
|
blob
|
history
diff --git
a/package/udev/S10udev
b/package/udev/S10udev
index 7bb430923dcebf8f5eb61f5af3a0a88d38293bf5..2c7b7e917f9fcc10cb3052baaac72cd4eda10bc4 100755
(executable)
--- a/
package/udev/S10udev
+++ b/
package/udev/S10udev
@@
-30,6
+30,7
@@
case "$1" in
echo -n "Populating ${udev_root:-/dev} using udev: "
echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
$UDEV_BIN -d || (echo "FAIL" && exit 1)
+ udevadm trigger
echo "done"
;;
stop)