diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-12-08 20:04:38 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-12-08 20:04:38 +0000 |
commit | 3b13a0866da40f40cafae063ebc5555bf99c6df1 (patch) | |
tree | 7157bc623d28f97814374748d3caf6348d8c4ff9 /package | |
parent | d96aa63db674f7612ab3ed451ccefd41d96797a1 (diff) | |
download | master-187ad058-3b13a0866da40f40cafae063ebc5555bf99c6df1.tar.gz master-187ad058-3b13a0866da40f40cafae063ebc5555bf99c6df1.tar.bz2 master-187ad058-3b13a0866da40f40cafae063ebc5555bf99c6df1.zip |
fix firmware loading broken by the busybox upgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18705 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-x | package/base-files/files/sbin/hotplug-call | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/sbin/hotplug-call b/package/base-files/files/sbin/hotplug-call index e2f7e36177..c5a76a76c1 100755 --- 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 |