home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh -e
- # initramfs nfs-top script for udev
-
- PREREQ=""
-
- # Output pre-requisites
- prereqs()
- {
- echo "$PREREQ"
- }
-
- case "$1" in
- prereqs)
- prereqs
- exit 0
- ;;
- esac
-
-
- # Each call to udevplug can take up to three minutes
- if [ -x /sbin/usplash_write ]; then
- /sbin/usplash_write "TIMEOUT 360"
- trap "/sbin/usplash_write 'TIMEOUT 15'" 0
- fi
-
- # All we need to do is load drivers for any network card on the PCI
- # bus, and hopefully we'll have one that can be used to boot
- # afterwards; load them in PCI bus order to try and produce some kind
- # of sanity.
- /sbin/udevtrigger -s -Bpci -Iclass=0x02*
-
- # Finally we need to load drivers for bridges (0x06),
- # docking stations (0x0a), input devices (0x09), serial devices (0x0c)
- # and "intelligent" devices (0x0e). Just in case there's a keyboard
- # on the end and things go wrong.
- /sbin/udevtrigger -Bpci -Iclass=0x0[69ace]*
-