treewide: use the generic board_name function
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / board.d / 01_leds
index e5afd50e7d73491a4208e0149a79ca967222d7c0..8eaa892b4aeb2972197f33b6bd29265c10b91dd5 100755 (executable)
@@ -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)