aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/apm821xx/base-files/etc/diag.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/apm821xx/base-files/etc/diag.sh')
-rwxr-xr-xtarget/linux/apm821xx/base-files/etc/diag.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/apm821xx/base-files/etc/diag.sh b/target/linux/apm821xx/base-files/etc/diag.sh
index 3e480f1fe4..eb9b04b525 100755
--- 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|\