modules/freifunk: prepare ar71xx support in remote-update
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 1 Jul 2009 01:53:42 +0000 (01:53 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 1 Jul 2009 01:53:42 +0000 (01:53 +0000)
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"
                ;;