| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | # With the daemon mode ('mdev -df') we no longer need the hotplug helper |
| 4 | echoscip-shell system . . echo. "" > /proc/sys/kernel/hotplugscip-shell filesystem . . `/proc/sys/kernel/hotplug`. |
| 5 | |
| 6 | # Wait for 'mdev -df' to set up its event queue. |
| 7 | sleepscip-shell system . . 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 | findscip-shell system . . find. /sys/devicesscip-shell filesystem . . `/sys/devices`. -name uevent -print | while IFS='' read X; do echoscip-shell system . . echo. add > $X; done |