From 8cddaabf815b1fa87a40dc72ec23e865a77600af Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 1 Jul 2009 01:53:42 +0000 Subject: [PATCH] modules/freifunk: prepare ar71xx support in remote-update --- modules/freifunk/root/usr/sbin/remote-update | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/freifunk/root/usr/sbin/remote-update b/modules/freifunk/root/usr/sbin/remote-update index 67751d6cf..b900ada31 100755 --- a/modules/freifunk/root/usr/sbin/remote-update +++ b/modules/freifunk/root/usr/sbin/remote-update @@ -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" ;; -- 2.25.1