treewide: use the generic board_name function
[openwrt/openwrt.git] / target / linux / ipq806x / base-files / etc / init.d / linksys_recovery
index b9ea004207148f34394b26c886fdb9770b2aeb55..4d94f1f76711ce0c12ad2dcd220603851efdcf22 100755 (executable)
@@ -4,9 +4,8 @@
 START=97
 boot() {
 . /lib/functions.sh
-. /lib/ipq806x.sh
 
-case $(ipq806x_board_name) in
+case $(board_name) in
        ea8500)
                # make sure auto_recovery in uboot is always on
                AUTO_RECOVERY_ENA="`fw_printenv -n auto_recovery`"