Neue Hardwareerkennung im Installer...
[people/teissler/ipfire-2.x.git] / src / install+setup / install / probehw.sh
1 #!/bin/sh
2
3 echo "Detecting Hardware"
4 for MODULE in $(hwinfo --all | grep modprobe | awk '{ print $5 }' | tr -d \" | sort | uniq); do
5 if [ "${MODULE}" = "unknown" ] || \
6 [ "${MODULE}" = "ignore" ]; then
7 continue
8 fi
9 if grep -Eqe "^${MODULE} " /proc/modules; then
10 continue
11 fi
12 echo "Loading ${MODULE}"
13 modprobe -k ${MODULE}
14 udevstart
15 done
16
17 exit 0