aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-08-02 09:27:38 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-08-02 09:27:38 +0000
commit1884a9821a417670d1ba2178d33a6219c91fc679 (patch)
tree750a84d6e3c35620df15b8c24102c85e96a48249 /target/linux/ar71xx/base-files/lib/upgrade/platform.sh
parent558cea33221fac605e689b4b12fe8cf1ed67ecbe (diff)
downloadupstream-1884a9821a417670d1ba2178d33a6219c91fc679.tar.gz
upstream-1884a9821a417670d1ba2178d33a6219c91fc679.tar.bz2
upstream-1884a9821a417670d1ba2178d33a6219c91fc679.zip
[ar71xx] fix sysupgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17092 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/lib/upgrade/platform.sh')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 381b40e322..a5cb354c92 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -5,6 +5,7 @@
. /lib/ar71xx.sh
PART_NAME=firmware
+RAMFS_COPY_DATA=/lib/ar71xx.sh
platform_check_image() {
local board=$(ar71xx_board_name)
@@ -42,4 +43,5 @@ disable_watchdog() {
return 1
}
}
+
append sysupgrade_pre_upgrade disable_watchdog