3 # bypass the normal hotplug path for firmware loading
4 # would otherwise cause problems with drivers like bcm43xx
5 [ "$1" = "firmware" -a "$ACTION" = "add" ] && {
6 [ -f "/lib/firmware/$FIRMWARE" ] && {
7 echo 1 > "/sys$DEVPATH/loading"
8 cp "/lib/firmware/$FIRMWARE" "/sys$DEVPATH/data"
9 echo 0 > "/sys$DEVPATH/loading"
17 PATH
=/bin
:/sbin
:/usr
/bin
:/usr
/sbin
20 export PATH LOGNAME USER
22 [ \
! -z "$1" -a -d /etc
/hotplug.d
/$1 ] && {
23 for script in $
(ls /etc
/hotplug.d
/$1/* 2>&-); do (
24 [ -f $script ] && .
$script
This page took 0.055399 seconds and 5 git commands to generate.