]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/hwinfo/hwbootscan
HWInfo wieder eingefuegt, da mit kudzu zu viele Segmentation Faults liefert.
[people/pmueller/ipfire-2.x.git] / src / hwinfo / hwbootscan
diff --git a/src/hwinfo/hwbootscan b/src/hwinfo/hwbootscan
new file mode 100644 (file)
index 0000000..6bcfb25
--- /dev/null
@@ -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