home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
boot
/
i386
/
rescue
/
etc
/
sysconfig
/
hardware
/
scripts
/
functions.pnp
< prev
next >
Wrap
Text File
|
2006-11-29
|
442b
|
19 lines
pre_init_pnp() {
# PnP devices have no modalias attribute. Let's work around.
# Do this only if there is no config file
if [ "$SCRIPTNAME" = hwup -a \
\( -z "$CONFIG" -o ! -r "hwcfg-$CONFIG" -o -n "$NODATA" \) ] ; then
while read id;
do /sbin/modprobe pnp:d$id
done < $HWD_DEVICEPATH/id
fi
}
# You may also skip the usage of getcfg (which will be removed completely soon)
# with:
get_config_getcfg() {
get_config_fast
}