summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/remote-update/files/usr
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/package/remote-update/files/usr')
-rwxr-xr-xcontrib/package/remote-update/files/usr/sbin/remote-update10
1 files changed, 2 insertions, 8 deletions
diff --git a/contrib/package/remote-update/files/usr/sbin/remote-update b/contrib/package/remote-update/files/usr/sbin/remote-update
index e9a0a98c1a..4fa7e38dce 100755
--- a/contrib/package/remote-update/files/usr/sbin/remote-update
+++ b/contrib/package/remote-update/files/usr/sbin/remote-update
@@ -19,16 +19,10 @@ find_image()
{
case "$1" in
atheros)
- if grep -q '"vmlinux.bin.l7"' /proc/mtd; then
- echo "openwrt-fonera-combined.img"
- else
- echo "openwrt-ubiquity-combined.img"
- fi
+ echo "openwrt-atheros-combined.img"
;;
ar71xx)
- if grep -q '"kernel"' /proc/mtd; then
- echo "openwrt-ar71xx-combined.img"
- fi
+ echo "openwrt-ar71xx-combined.img"
;;
brcm-2.4)
echo "openwrt-brcm-2.4-squashfs.trx"