mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-19 23:17:53 +01:00
fix firmware loading broken by the busybox upgrade
SVN-Revision: 18705
This commit is contained in:
parent
cc5994a452
commit
4ab57b9e0f
@ -8,7 +8,7 @@ export HOTPLUG_TYPE="$1"
|
||||
[ -d /sys/firmware -a "firmware" = "$HOTPLUG_TYPE" -a "add" = "$ACTION" ] && {
|
||||
[ -f "/lib/firmware/$FIRMWARE" ] && {
|
||||
echo 1 > "/sys$DEVPATH/loading"
|
||||
cp "/lib/firmware/$FIRMWARE" "/sys$DEVPATH/data"
|
||||
dd if="/lib/firmware/$FIRMWARE" of="/sys$DEVPATH/data" bs=64k
|
||||
echo 0 > "/sys$DEVPATH/loading"
|
||||
}
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user