home *** CD-ROM | disk | FTP | other *** search
-
- 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
- }
-
-