modules/freifunk: prepare ar71xx support in remote-update
[project/luci.git] / modules / freifunk / root / usr / sbin / remote-update
index 67751d6..b900ada 100755 (executable)
@@ -22,6 +22,11 @@ find_image()
                                echo "openwrt-ubiquity-combined.img"
                        fi
                ;;
+               ar71xx)
+                       if grep -q '"kernel"' /proc/mtd; then
+                               echo "openwrt-ar71xx-combined.img"
+                       fi
+               ;;
                brcm-2.4)
                        echo "openwrt-brcm-2.4-squashfs.trx"
                ;;