treewide: use the generic board_name function
[openwrt/staging/stintel.git] / target / linux / ar71xx / base-files / etc / uci-defaults / 09_fix-checksum
index 057afe0193e6c2d76d31397a1890407f05835125..2d1afb11cb0b85cf0a62e3d9904a0acf0a7dc027 100644 (file)
@@ -3,9 +3,9 @@
 # Copyright (C) 2010 OpenWrt.org
 #
 
-. /lib/ar71xx.sh
+. /lib/functions.sh
 
-board=$(ar71xx_board_name)
+board=$(board_name)
 
 fixtrx() {
        mtd -o 32 fixtrx firmware