summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2005-10-21 18:33:03 +0200
committermaximilian attems <maks@debian.org>2005-10-21 18:33:03 +0200
commitb96ed45312562bbfc976ce0c6cf32b7e704f1e2f (patch)
treebce6a45954775445d8231d9341883c9b888f3506 /scripts
parenta5ceeefab355e57948134a8857f0b15fa56a8c6e (diff)
downloadinitramfs-tools-b96ed45312562bbfc976ce0c6cf32b7e704f1e2f.tar.gz
initramfs-tools-b96ed45312562bbfc976ce0c6cf32b7e704f1e2f.zip
waldi udev fixes
Diffstat (limited to 'scripts')
-rw-r--r--scripts/functions22
1 files changed, 0 insertions, 22 deletions
diff --git a/scripts/functions b/scripts/functions
index de2268c..68cfcea 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -203,8 +203,6 @@ i2o_boot_events()
load_modules()
{
- depmod -a
-
# Load custom modules first
if [ -e /conf/modules ]; then
cat /conf/modules | while read m; do
@@ -219,18 +217,6 @@ load_modules()
done
fi
- for x in /sys/bus/pci/devices/*; do
- if [ -e ${x}/class ]; then
- case $(cat ${x}/class) in
- 0x0100*|0x0101*)
- if [ -e ${x}/modalias ]; then
- modprobe -q $(cat ${x}/modalias)
- fi
- ;;
- esac
- fi
- done
-
ide_boot_events
scsi_boot_events
@@ -239,8 +225,6 @@ load_modules()
# FIXME - need to start LVM here
- udevstart
-
if [ -e /sys/power/resume ]; then
if [ -e "${resume}" ]; then
major=$((0x$(stat -c%t ${resume})))
@@ -249,12 +233,6 @@ load_modules()
fi
fi
- for x in /sys/bus/pci/devices/*; do
- if [ -e ${x}/modalias ]; then
- modprobe -q $(cat ${x}/modalias)
- fi
- done
-
# Give the USB bus a moment to catch up
sleep 2