projects
/
openwrt
/
staging
/
hauke.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/staging/hauke.git]
/
target
/
linux
/
apm821xx
/
base-files
/
etc
/
diag.sh
diff --git
a/target/linux/apm821xx/base-files/etc/diag.sh
b/target/linux/apm821xx/base-files/etc/diag.sh
index 3e480f1fe4363415c8e379efc8660b256199d293..eb9b04b52511f36c49425a9bf54ec716cdd754a9 100755
(executable)
--- a/
target/linux/apm821xx/base-files/etc/diag.sh
+++ b/
target/linux/apm821xx/base-files/etc/diag.sh
@@
-1,10
+1,10
@@
#!/bin/sh
+. /lib/functions.sh
. /lib/functions/leds.sh
-. /lib/apm821xx.sh
get_status_led() {
- local board=$(
apm821xx_
board_name)
+ local board=$(board_name)
case $board in
mbl|\