slitaz-boot-scripts rev 247 4.2
Fixed pankso rev 238 patch. We needed udevadm trigger after tazhw init is used. Thats why virtualbox mouse didn't work.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Mar 28 08:53:40 2011 +0000 (2011-03-28) |
parents | 0afa56775784 |
children | 2e126e75ad2a 5310b8e261f7 |
files | etc/init.d/rcS |
line diff
1.1 --- a/etc/init.d/rcS Mon Mar 28 10:12:18 2011 +0200 1.2 +++ b/etc/init.d/rcS Mon Mar 28 08:53:40 2011 +0000 1.3 @@ -53,16 +53,6 @@ 1.4 1.5 [ "$FBSPLASH" == "yes" ] && echo "20" > /etc/fbsplash/fifo 1.6 1.7 -# Trigger Udev and handle hotplug events 1.8 -if [ "$UDEV" = "yes" ]; then 1.9 - echo -n "Udevadm requesting events from the Kernel..." 1.10 - udevadm trigger 1.11 - status 1.12 - echo -n "Using Udev for hotplugging..." 1.13 - echo "/sbin/udevd" > /proc/sys/kernel/hotplug 1.14 - status 1.15 -fi 1.16 - 1.17 # Before mounting filesystems we check fs specified in the file 1.18 # /etc/rcS.conf and variable $CHECK_FS. 1.19 if [ -n "$CHECK_FS" ]; then 1.20 @@ -78,6 +68,22 @@ 1.21 echo "Remounting rootfs read/write..." 1.22 /bin/mount -o remount,rw / 1.23 1.24 +# Trigger Udev and handle hotplug events 1.25 +if [ "$UDEV" = "yes" ]; then 1.26 + echo -n "Starting udev daemon..." 1.27 + /sbin/udevd --daemon 1.28 + status 1.29 + echo -n "Udevadm requesting events from the Kernel..." 1.30 + udevadm trigger 1.31 + status 1.32 + echo -n "Udevadm waiting for the event queue to finish..." 1.33 + udevadm settle 1.34 + status 1.35 + echo -n "Using Udev for hotplugging..." 1.36 + echo "/sbin/udevd" > /proc/sys/kernel/hotplug 1.37 + status 1.38 +fi 1.39 + 1.40 [ "$FBSPLASH" == "yes" ] && echo "30" > /etc/fbsplash/fifo 1.41 1.42 # Mount filesystems in /etc/fstab.