From f12a32630ff52b5e13397f64e9fb31708e97fb60 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Fri, 12 May 2017 22:36:07 +0200 Subject: treewide: use the generic board_name function Use the generic function instead ot the target specific ones. Signed-off-by: Mathias Kresin --- target/linux/kirkwood/base-files/etc/board.d/01_leds | 3 +-- target/linux/kirkwood/base-files/etc/board.d/02_network | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'target/linux/kirkwood/base-files/etc/board.d') diff --git a/target/linux/kirkwood/base-files/etc/board.d/01_leds b/target/linux/kirkwood/base-files/etc/board.d/01_leds index 0608440533..0d89759180 100755 --- a/target/linux/kirkwood/base-files/etc/board.d/01_leds +++ b/target/linux/kirkwood/base-files/etc/board.d/01_leds @@ -4,11 +4,10 @@ # . /lib/functions/uci-defaults.sh -. /lib/kirkwood.sh board_config_update -board=$(kirkwood_board_name) +board=$(board_name) case "$board" in "dockstar") diff --git a/target/linux/kirkwood/base-files/etc/board.d/02_network b/target/linux/kirkwood/base-files/etc/board.d/02_network index 19f0292b29..85049d2968 100755 --- a/target/linux/kirkwood/base-files/etc/board.d/02_network +++ b/target/linux/kirkwood/base-files/etc/board.d/02_network @@ -5,11 +5,10 @@ . /lib/functions/uci-defaults.sh . /lib/functions/system.sh -. /lib/kirkwood.sh board_config_update -board=$(kirkwood_board_name) +board=$(board_name) case "$board" in "dockstar"|\ -- cgit v1.2.3