treewide: use the generic board_name function
[openwrt/openwrt.git] / target / linux / brcm2708 / base-files / etc / board.d / 02_network
index 9486a6ae6844ac947880bd273b8c0ecaec6e4702..29bcf33e33fa51cba11e6c60316ff19f2cd1dcec 100755 (executable)
@@ -3,13 +3,12 @@
 # Copyright (C) 2017 LEDE project
 
 . /lib/functions/uci-defaults.sh
-. /lib/brcm2708.sh
 . /lib/functions.sh
 . /lib/functions/system.sh
 
 board_config_update
 
-board=$(brcm2708_board_name)
+board=$(board_name)
 
 case "$board" in
 rpi-2-b |\