treewide: use the generic board_name function
[openwrt/openwrt.git] / target / linux / ramips / base-files / lib / preinit / 04_handle_checksumming
index 057fe45444eb9c8041e5d5e7d00e68f620b6e0b1..007abf79f6d69b4bec9786e9956fef069ba79332 100644 (file)
@@ -6,9 +6,9 @@
 # that happens, so this needs to run very early during boot.
 
 do_checksumming_disable() {
-       . /lib/ramips.sh
+       . /lib/functions.sh
 
-       local board=$(ramips_board_name)
+       local board=$(board_name)
 
        case "$board" in
        wnce2001)