treewide: use the generic board_name function
[openwrt/openwrt.git] / target / linux / ipq806x / base-files / etc / board.d / 01_leds
index 13717672682d94ee90c654658620fb7daebbbf6c..5e04ee773a95368e71ee2738e58f93c41019eb52 100755 (executable)
@@ -4,11 +4,10 @@
 #
 
 . /lib/functions/uci-defaults.sh
-. /lib/ipq806x.sh
 
 board_config_update
 
-board=$(ipq806x_board_name)
+board=$(board_name)
 
 case "$board" in
 c2600)