treewide: use the generic board_name function
[openwrt/openwrt.git] / target / linux / mcs814x / base-files / etc / board.d / 01_leds
index efcf8093ae3774c9b726370ed1892f5d89cfeaca..65d738f0ad26ab64a1d5855db85e5442007bace5 100755 (executable)
@@ -4,11 +4,10 @@
 #
 
 . /lib/functions/uci-defaults.sh
-. /lib/mcs814x.sh
 
 board_config_update
 
-board=$(mcs814x_board_name)
+board=$(board_name)
 
 case "$board" in
 dlan-usb-extender)