diff options
author | maximilian attems <maks@debian.org> | 2006-03-26 22:37:51 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2006-03-26 22:37:51 +0200 |
commit | fac756fddb6da3efbbfe99c3c9b0644346ecc695 (patch) | |
tree | 3910cbeb5566ab766aeb50a4eb4ac9d3067cbb46 /scripts/local-top/udev_helper | |
parent | 4b5cc6ce7567a7075802dd8c3e47dd7cf8e84627 (diff) | |
download | initramfs-tools-fac756fddb6da3efbbfe99c3c9b0644346ecc695.tar.gz initramfs-tools-fac756fddb6da3efbbfe99c3c9b0644346ecc695.zip |
Resynch with 0.40ubuntu28
add raid10 module
move the loop waiting code to mountroot()
leaves only ide-generic from scripts/local-top/udev_helper
md pre-requesites the udev one
Diffstat (limited to 'scripts/local-top/udev_helper')
-rwxr-xr-x | scripts/local-top/udev_helper | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/local-top/udev_helper b/scripts/local-top/udev_helper new file mode 100755 index 0000000..5a747ba --- /dev/null +++ b/scripts/local-top/udev_helper @@ -0,0 +1,23 @@ +#!/bin/sh + +PREREQ="" + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +# If we're booting from IDE, it might not be a PCI controller, +# but might be an old fashioned ISA controller; in which case +# we need to load ide-generic. +if [ ! -e "${ROOT}" -o "${ROOT}" = "/dev/root" ]; then + modprobe -q ide-generic +fi |