vp-build/templates/initramfs-tools/files/scripts/init-top/all_generic_ide
Juan RP 7e91eb4db8 initramfs-tools: add sources and use them.
* Add source files directly to avoid recreating patches and
  patches lots of times with no gain.
* Add du and expr busybox symlinks at init time.

Bump revision.

--HG--
extra : convert_revision : 4928750b0110f43cde577f6068e79bd0675c64cf
2009-10-09 03:11:09 +02:00

28 lines
315 B
Bash
Executable File

#!/bin/sh
PREREQ=""
prereqs()
{
echo "$PREREQ"
}
case $1 in
# get pre-requisites
prereqs)
prereqs
exit 0
;;
esac
for x in $(cat /proc/cmdline); do
case ${x} in
all_generic_ide)
modprobe ide-generic
;;
all_generic_ide=*)
if [ ${x#all_generic_ide=} ]; then
modprobe ide-generic
fi
;;
esac
done