Wir kehren zurueck zu Kudzu, da hwinfo noch mehr Aerger macht.

sort_strings.pl erweitert damit er Umlaute automatisch kodiert.
Tripwire und Sysstat (sar) hinzugefuegt.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@486 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-04-10 16:25:56 +00:00
parent 59de0b00db
commit 1a8688ba59
12 changed files with 312 additions and 17 deletions

View File

@@ -4,7 +4,7 @@ echo "Scanning source media"
# scan CDROM devices
for DEVICE in $(hwinfo --cdrom | grep "Device File" | awk -F: '{ print $2 }' | cut -c 7- | sort | uniq); do
for DEVICE in $(kudzu -qps -t 30 -c CDROM | grep device: | cut -d ' ' -f 2 | sort | uniq); do
mount /dev/${DEVICE} /cdrom 2> /dev/null
if [ -e /cdrom/boot ]; then
echo -n ${DEVICE} > /tmp/source_device
@@ -14,7 +14,7 @@ for DEVICE in $(hwinfo --cdrom | grep "Device File" | awk -F: '{ print $2 }' | c
done
# scan HD device (usb sticks, etc.)
for DEVICE in $(hwinfo --usb --disk | grep "Device File" | awk -F: '{ print $2 }' | cut -c 7- | sort | uniq); do
for DEVICE in $(kudzu -qps -t 30 -c HD | grep device: | cut -d ' ' -f 2 | sort | uniq); do
mount /dev/${DEVICE}1 /cdrom 2> /dev/null
if [ -e /cdrom/boot ]; then
echo -n ${DEVICE}1 > /tmp/source_device

View File

@@ -1,7 +1,7 @@
#!/bin/sh
echo "Detecting Hardware"
for MODULE in $(hwinfo --all | grep modprobe | awk '{ print $5 }' | tr -d \" | sort | uniq); do
for MODULE in $(kudzu -qps -t 30 | grep driver | cut -d ' ' -f 2 | sort | uniq); do
if [ "${MODULE}" = "unknown" ] || \
[ "${MODULE}" = "ignore" ]; then
continue