aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mxs/base-files/etc/diag.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mxs/base-files/etc/diag.sh')
-rw-r--r--target/linux/mxs/base-files/etc/diag.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/mxs/base-files/etc/diag.sh b/target/linux/mxs/base-files/etc/diag.sh
index 11b1f75fae..3b05f6da5f 100644
--- 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"
;;