X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=contrib%2Fpackage%2Fremote-update%2Ffiles%2Fusr%2Fsbin%2Fremote-update;h=4fa7e38dced271cb72e509c99aa6b96d779494c9;hb=af8424549d01651b188e2569cab5169d2e933bc0;hp=e9a0a98c1a2c3b30f45837cb0e6d2e13bab5d5c0;hpb=536430d0eeecf5c75651ff625b97c9fa4fc646b4;p=project%2Fluci.git diff --git a/contrib/package/remote-update/files/usr/sbin/remote-update b/contrib/package/remote-update/files/usr/sbin/remote-update index e9a0a98c1..4fa7e38dc 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"