aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/base-files/etc/diag.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm2708/base-files/etc/diag.sh')
-rw-r--r--target/linux/brcm2708/base-files/etc/diag.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm2708/base-files/etc/diag.sh b/target/linux/brcm2708/base-files/etc/diag.sh
index 36c5cd71d0..6f5810ed58 100644
--- a/target/linux/brcm2708/base-files/etc/diag.sh
+++ b/target/linux/brcm2708/base-files/etc/diag.sh
@@ -2,11 +2,11 @@
# Copyright (C) 2015-2016 OpenWrt.org
# Copyright (C) 2017 LEDE project
+. /lib/functions.sh
. /lib/functions/leds.sh
-. /lib/brcm2708.sh
set_state() {
- case "$(brcm2708_board_name)" in
+ case "$(board_name)" in
rpi-2-b |\
rpi-b-plus)
status_led="led1"