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/ar71xx/base-files/etc/uci-defaults/04_led_migration | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration') diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration b/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration index 16722d1ab2..d6f7077093 100644 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration @@ -41,9 +41,7 @@ migrate_leds() config_foreach do_led_update_sysfs led "$@" } -. /lib/ar71xx.sh - -board=$(ar71xx_board_name) +board=$(board_name) case "$board" in dhp-1565-a1|\ -- cgit v1.2.3