projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[cobalt] add support for cobalt microservers (mips-based)
[openwrt.git]
/
package
/
comgt
/
files
/
3g.sh
diff --git
a/package/comgt/files/3g.sh
b/package/comgt/files/3g.sh
index
b27e90e
..
8fcac09
100644
(file)
--- a/
package/comgt/files/3g.sh
+++ b/
package/comgt/files/3g.sh
@@
-1,4
+1,6
@@
set_3g_led() {
+ # set on WRT54G3G only
+ [ -d /proc/diag ] || return 0
grep WRT54G3G /proc/diag/model >/dev/null || return 0
echo "$1" > /proc/diag/led/3g_green
echo "$2" > /proc/diag/led/3g_blue
This page took
0.021419 seconds
and
4
git commands to generate.