From 29afecace95d0687477bf42f7ce4e918bcd0f271 Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Sat, 28 Jul 2012 00:03:58 +1000 Subject: [PATCH] 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 Signed-off-by: Thomas Petazzoni --- package/udev/S10udev | 1 + 1 file changed, 1 insertion(+) diff --git a/package/udev/S10udev b/package/udev/S10udev index 7bb430923d..2c7b7e917f 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) -- 2.30.2