X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=src%2Fhwinfo%2Fhwbootscan;fp=src%2Fhwinfo%2Fhwbootscan;h=6bcfb25b40ba3a5ece8fccfdfbd339405ec77918;hb=a6316ce423a6d559ea026061b689591e8f5872ed;hp=0000000000000000000000000000000000000000;hpb=c66941dd94e4c37be7a1c48b98f385b6bdc64752;p=ipfire-2.x.git diff --git a/src/hwinfo/hwbootscan b/src/hwinfo/hwbootscan new file mode 100644 index 0000000000..6bcfb25b40 --- /dev/null +++ b/src/hwinfo/hwbootscan @@ -0,0 +1,15 @@ +#!/bin/bash + +rm -f /var/lib/hardware/LOCK + +/sbin/hwscan --silent --boot --fast --isapnp --pci --block --floppy --mouse + +# +# create icons for static drives +# +if [ -e /etc/hotplug/hotplug.subfs.functions ]; then + . /etc/hotplug/hotplug.subfs.functions + coldplug_create_subfs +fi + +exit 0