aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/apm821xx/base-files/etc/board.d
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/apm821xx/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/apm821xx/base-files/etc/board.d/01_leds3
-rwxr-xr-xtarget/linux/apm821xx/base-files/etc/board.d/02_network3
2 files changed, 2 insertions, 4 deletions
diff --git a/target/linux/apm821xx/base-files/etc/board.d/01_leds b/target/linux/apm821xx/base-files/etc/board.d/01_leds
index ad9bef9c09..3b5fb721ae 100755
--- a/target/linux/apm821xx/base-files/etc/board.d/01_leds
+++ b/target/linux/apm821xx/base-files/etc/board.d/01_leds
@@ -1,11 +1,10 @@
#!/bin/sh
. /lib/functions/uci-defaults.sh
-. /lib/apm821xx.sh
board_config_update
-board=$(apm821xx_board_name)
+board=$(board_name)
case "$board" in
mr24)
diff --git a/target/linux/apm821xx/base-files/etc/board.d/02_network b/target/linux/apm821xx/base-files/etc/board.d/02_network
index 90a8c1a8d2..03df7cb49f 100755
--- a/target/linux/apm821xx/base-files/etc/board.d/02_network
+++ b/target/linux/apm821xx/base-files/etc/board.d/02_network
@@ -2,11 +2,10 @@
. /lib/functions/system.sh
. /lib/functions/uci-defaults.sh
-. /lib/apm821xx.sh
board_config_update
-board=$(apm821xx_board_name)
+board=$(board_name)
case "$board" in
mbl|\