summaryrefslogtreecommitdiff
path: root/target/linux
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
commit9d1e01a1597aea8d5afe386deba80aa888d44bff (patch)
tree0ca6a9560a03225ca5183558c39b559cfef2efdd /target/linux
parent034933808a231f25e7b3953ada224ec7a2bfe1a6 (diff)
downloadmtk-20170518-9d1e01a1597aea8d5afe386deba80aa888d44bff.zip
mtk-20170518-9d1e01a1597aea8d5afe386deba80aa888d44bff.tar.gz
mtk-20170518-9d1e01a1597aea8d5afe386deba80aa888d44bff.tar.bz2
fix sysupgrade
SVN-Revision: 17092
Diffstat (limited to 'target/linux')
-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 381b40e..a5cb354 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