hwbootscan
raw| 1 | #!/bin/bash |
| 2 | |
| 3 | rm -f /var/lib/hardware/LOCK |
| 4 | |
| 5 | /sbin/hwscan --silent --boot --fast --isapnp --pci --block --floppy --mouse |
| 6 | |
| 7 | # |
| 8 | # create icons for static drives |
| 9 | # |
| 10 | if [ -e /etc/hotplug/hotplug.subfs.functions ]; then |
| 11 | . /etc/hotplug/hotplug.subfs.functions |
| 12 | coldplug_create_subfs |
| 13 | fi |
| 14 | |
| 15 | exit 0 |