summaryrefslogtreecommitdiffstats
path: root/package/udev/S10udev
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2012-07-28 00:03:58 +1000
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-30 21:18:09 +0200
commit29afecace95d0687477bf42f7ce4e918bcd0f271 (patch)
tree20ab0498fdc79063c7d89a0ef7b7a2e11f5001eb /package/udev/S10udev
parentb08fd56ae82ad2d003512e6128ae60016d0186df (diff)
downloadbuildroot-novena-29afecace95d0687477bf42f7ce4e918bcd0f271.tar.gz
buildroot-novena-29afecace95d0687477bf42f7ce4e918bcd0f271.zip
udev: process udev events on startup in init.d script
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>
Diffstat (limited to 'package/udev/S10udev')
-rwxr-xr-xpackage/udev/S10udev1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/udev/S10udev b/package/udev/S10udev
index 7bb430923..2c7b7e917 100755
--- 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)