# HG changeset patch # User Christopher Rogers # Date 1301302420 0 # Node ID d970012328a4c817248e111c6a76938f79698f0c # Parent 0afa5677578486bb3f00be95badfa55d9b4e8c5f Fixed pankso rev 238 patch. We needed udevadm trigger after tazhw init is used. Thats why virtualbox mouse didn't work. diff -r 0afa56775784 -r d970012328a4 etc/init.d/rcS --- a/etc/init.d/rcS Mon Mar 28 10:12:18 2011 +0200 +++ b/etc/init.d/rcS Mon Mar 28 08:53:40 2011 +0000 @@ -53,16 +53,6 @@ [ "$FBSPLASH" == "yes" ] && echo "20" > /etc/fbsplash/fifo -# Trigger Udev and handle hotplug events -if [ "$UDEV" = "yes" ]; then - echo -n "Udevadm requesting events from the Kernel..." - udevadm trigger - status - echo -n "Using Udev for hotplugging..." - echo "/sbin/udevd" > /proc/sys/kernel/hotplug - status -fi - # Before mounting filesystems we check fs specified in the file # /etc/rcS.conf and variable $CHECK_FS. if [ -n "$CHECK_FS" ]; then @@ -78,6 +68,22 @@ echo "Remounting rootfs read/write..." /bin/mount -o remount,rw / +# Trigger Udev and handle hotplug events +if [ "$UDEV" = "yes" ]; then + echo -n "Starting udev daemon..." + /sbin/udevd --daemon + status + echo -n "Udevadm requesting events from the Kernel..." + udevadm trigger + status + echo -n "Udevadm waiting for the event queue to finish..." + udevadm settle + status + echo -n "Using Udev for hotplugging..." + echo "/sbin/udevd" > /proc/sys/kernel/hotplug + status +fi + [ "$FBSPLASH" == "yes" ] && echo "30" > /etc/fbsplash/fifo # Mount filesystems in /etc/fstab.