summaryrefslogtreecommitdiff
path: root/scripts/local-top/udev_helper
blob: 5a747baf654fcf5a60c8e7405886c4031e645911 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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