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
/
oxnas
/
base-files
/
etc
/
diag.sh
diff --git
a/target/linux/oxnas/base-files/etc/diag.sh
b/target/linux/oxnas/base-files/etc/diag.sh
index 51771f3ea61710dbdab9e0c587fc039847498bc1..fd3bc3b33663c5e465a47252b1d132652dbb4ada 100644
(file)
--- a/
target/linux/oxnas/base-files/etc/diag.sh
+++ b/
target/linux/oxnas/base-files/etc/diag.sh
@@
-1,11
+1,11
@@
#!/bin/sh
# Copyright (C) 2009-2013 OpenWrt.org
+. /lib/functions.sh
. /lib/functions/leds.sh
-. /lib/oxnas.sh
get_status_led() {
- case $(
oxnas_
board_name) in
+ case $(board_name) in
akitio)
status_led="akitio:red:status"
;;