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
/
ramips
/
base-files
/
etc
/
diag.sh
diff --git
a/target/linux/ramips/base-files/etc/diag.sh
b/target/linux/ramips/base-files/etc/diag.sh
index 0f4e646ce11c15fe763c8e48e5263c1d0d763015..531c8e055f26eab5cd18ebfce43135f713676070 100644
(file)
--- a/
target/linux/ramips/base-files/etc/diag.sh
+++ b/
target/linux/ramips/base-files/etc/diag.sh
@@
-1,11
+1,11
@@
#!/bin/sh
# Copyright (C) 2010-2013 OpenWrt.org
+. /lib/functions.sh
. /lib/functions/leds.sh
-. /lib/ramips.sh
get_status_led() {
- board=$(
ramips_
board_name)
+ board=$(board_name)
case $board in
3g150b|\