| 1 | #!/bin/sh |
| 2 | |
| 3 | # With the daemon mode ('mdev -df') we no longer need the hotplug helper |
| 4 | echo "" > /proc/sys/kernel/hotplug |
| 5 | |
| 6 | # Wait for 'mdev -df' to set up its event queue. |
| 7 | sleep 1 |
| 8 | |
| 9 | # Trigger 'add' event for all devices and subsystems to load all modules |
| 10 | # and any firmware needed by the hardware. |
| 11 | find /sys/devices -name uevent -print | while IFS='' read X; do echo add > $X; done |