projects
/
openwrt
/
staging
/
mkresin.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/mkresin.git]
/
target
/
linux
/
mxs
/
base-files
/
etc
/
diag.sh
diff --git
a/target/linux/mxs/base-files/etc/diag.sh
b/target/linux/mxs/base-files/etc/diag.sh
index 11b1f75fae337c29bf0b0470d1861b1a7ffa3aa2..3b05f6da5f9b6730e7e023b34be086c4602df80a 100644
(file)
--- a/
target/linux/mxs/base-files/etc/diag.sh
+++ b/
target/linux/mxs/base-files/etc/diag.sh
@@
-1,11
+1,11
@@
#!/bin/sh
# Copyright (C) 2013-2014 OpenWrt.org
+. /lib/functions.sh
. /lib/functions/leds.sh
-. /lib/mxs.sh
get_status_led() {
- case $(
mxs_
board_name) in
+ case $(board_name) in
duckbill)
status_led="duckbill:green:status"
;;