treewide: use the generic board_name function
[openwrt/staging/dedeckeh.git] / target / linux / ramips / base-files / etc / board.d / 02_network
index f6129b527add0e33315298656b71c977a6ce8013..78ba10342b3d6b18844554df81d0b5ae22ad0df2 100755 (executable)
@@ -1,7 +1,6 @@
 #!/bin/sh
 
 . /lib/functions.sh
-. /lib/ramips.sh
 . /lib/functions/uci-defaults.sh
 . /lib/functions/system.sh
 
@@ -494,7 +493,7 @@ ramips_setup_macs()
 }
 
 board_config_update
-board=$(ramips_board_name)
+board=$(board_name)
 ramips_setup_interfaces $board
 ramips_setup_macs $board
 board_config_flush