treewide: use the generic board_name function
[openwrt/staging/chunkeey.git] / target / linux / apm821xx / base-files / etc / board.d / 01_leds
index ad9bef9c09ee6362f3d0ec230b53919682631847..3b5fb721ae38e6e655894a6e00d00bf188d35ea7 100755 (executable)
@@ -1,11 +1,10 @@
 #!/bin/sh
 
 . /lib/functions/uci-defaults.sh
-. /lib/apm821xx.sh
 
 board_config_update
 
-board=$(apm821xx_board_name)
+board=$(board_name)
 
 case "$board" in
 mr24)