Changeset 17839


Ignore:
Timestamp:
2009-10-03T13:28:02+02:00 (8 years ago)
Author:
nbd
Message:

check for sysfs before bypassing normal hotplug calls for firmware events (fixes #5200)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/base-files/files/sbin/hotplug-call

    r7639 r17839  
    66# bypass the normal hotplug path for firmware loading 
    77# would otherwise cause problems with drivers like bcm43xx 
    8 [ "firmware" = "$HOTPLUG_TYPE" -a "add" = "$ACTION" ] && { 
     8[ -d /sys/firmware -a "firmware" = "$HOTPLUG_TYPE" -a "add" = "$ACTION" ] && { 
    99        [ -f "/lib/firmware/$FIRMWARE" ] && { 
    1010                echo 1 > "/sys$DEVPATH/loading" 
Note: See TracChangeset for help on using the changeset viewer.