projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[package] base-files: Cancel firmware loading if file doesn't exist
[openwrt.git]
/
package
/
base-files
/
files
/
sbin
/
hotplug-call
diff --git
a/package/base-files/files/sbin/hotplug-call
b/package/base-files/files/sbin/hotplug-call
index
c5a76a7
..
e56460d
100755
(executable)
--- a/
package/base-files/files/sbin/hotplug-call
+++ b/
package/base-files/files/sbin/hotplug-call
@@
-10,7
+10,7
@@
export HOTPLUG_TYPE="$1"
echo 1 > "/sys$DEVPATH/loading"
dd if="/lib/firmware/$FIRMWARE" of="/sys$DEVPATH/data" bs=64k
echo 0 > "/sys$DEVPATH/loading"
- }
+ }
|| echo -1 > "/sys$DEVPATH/loading"
exit 0
}
This page took
0.021489 seconds
and
4
git commands to generate.