treewide: use the generic board_name function
[openwrt/openwrt.git] / target / linux / ipq806x / base-files / etc / board.d / 02_network
index bd81a1ebff772b99fcd9cf124aebb40adeac96b6..28e42dcaf8ee2010c8c0e8ce2a7ace9c25241700 100755 (executable)
@@ -5,12 +5,11 @@
 #
 
 . /lib/functions/uci-defaults.sh
-. /lib/ipq806x.sh
 . /lib/functions/system.sh
 
 board_config_update
 
-board=$(ipq806x_board_name)
+board=$(board_name)
 
 case "$board" in
 ap148 |\