projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: use the generic board_name function
[openwrt/openwrt.git]
/
target
/
linux
/
brcm63xx
/
base-files
/
etc
/
diag.sh
diff --git
a/target/linux/brcm63xx/base-files/etc/diag.sh
b/target/linux/brcm63xx/base-files/etc/diag.sh
index b90b5907aa59a06640f400f9cdc0843a751b6e0d..24939a9cc1090f5c15c2fbd13f052f3281ffda48 100644
(file)
--- a/
target/linux/brcm63xx/base-files/etc/diag.sh
+++ b/
target/linux/brcm63xx/base-files/etc/diag.sh
@@
-1,11
+1,11
@@
#!/bin/sh
# Copyright (C) 2007-2013 OpenWrt.org
+. /lib/functions.sh
. /lib/functions/leds.sh
-. /lib/brcm63xx.sh
set_state() {
- case "$(b
rcm63xx_b
oard_name)" in
+ case "$(board_name)" in
a4001n1)
status_led="A4001N1:green:power"
;;