projects
/
openwrt
/
staging
/
ansuel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc5994a
)
fix firmware loading broken by the busybox upgrade
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 8 Dec 2009 20:04:38 +0000
(20:04 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 8 Dec 2009 20:04:38 +0000
(20:04 +0000)
SVN-Revision: 18705
package/base-files/files/sbin/hotplug-call
patch
|
blob
|
history
diff --git
a/package/base-files/files/sbin/hotplug-call
b/package/base-files/files/sbin/hotplug-call
index e2f7e36177c2a808a00d9635ea3e61034b81e649..c5a76a76c134065ec4e1e344517de03b716f79f7 100755
(executable)
--- a/
package/base-files/files/sbin/hotplug-call
+++ b/
package/base-files/files/sbin/hotplug-call
@@
-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