From: Jonathan Liu Date: Fri, 27 Jul 2012 14:03:58 +0000 (+1000) Subject: udev: process udev events on startup in init.d script X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=29afecace95d0687477bf42f7ce4e918bcd0f271;p=buildroot.git 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 --- 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)