28 lines
315 B
Bash
Executable File
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
|