From 05d6d004b9f93bef87fb27de8bbcc79443857116 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 19 Oct 2009 12:22:39 +0000 Subject: [PATCH] luci-0.9: merge r5407# --- contrib/package/remote-update/Makefile | 2 +- .../package/remote-update/files/usr/sbin/remote-update | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/contrib/package/remote-update/Makefile b/contrib/package/remote-update/Makefile index 40cee4c333..f4affb496a 100644 --- a/contrib/package/remote-update/Makefile +++ b/contrib/package/remote-update/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=remote-update -PKG_RELEASE:=1 +PKG_RELEASE:=3 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) diff --git a/contrib/package/remote-update/files/usr/sbin/remote-update b/contrib/package/remote-update/files/usr/sbin/remote-update index bffc449d08..192366d77a 100755 --- a/contrib/package/remote-update/files/usr/sbin/remote-update +++ b/contrib/package/remote-update/files/usr/sbin/remote-update @@ -16,16 +16,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" -- 2.30.2