aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/board.d
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/03_gpio_switches3
3 files changed, 3 insertions, 6 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds
index e5afd50e7d..8eaa892b4a 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -4,11 +4,10 @@
#
. /lib/functions/uci-defaults.sh
-. /lib/ar71xx.sh
board_config_update
-board=$(ar71xx_board_name)
+board=$(board_name)
case "$board" in
a40)
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index 7f2012855c..b2126c0c94 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -5,7 +5,6 @@
. /lib/functions/system.sh
. /lib/functions/uci-defaults.sh
-. /lib/ar71xx.sh
ar71xx_setup_interfaces()
{
@@ -545,7 +544,7 @@ ar71xx_setup_macs()
}
board_config_update
-board=$(ar71xx_board_name)
+board=$(board_name)
ar71xx_setup_interfaces $board
ar71xx_setup_macs $board
board_config_flush
diff --git a/target/linux/ar71xx/base-files/etc/board.d/03_gpio_switches b/target/linux/ar71xx/base-files/etc/board.d/03_gpio_switches
index 2b18741cd9..add7e47e85 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/03_gpio_switches
+++ b/target/linux/ar71xx/base-files/etc/board.d/03_gpio_switches
@@ -4,11 +4,10 @@
#
. /lib/functions/uci-defaults.sh
-. /lib/ar71xx.sh
board_config_update
-board=$(ar71xx_board_name)
+board=$(board_name)
case "$board" in
nanostation-m)