summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib/upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/base-files/lib/upgrade')
-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 381b40e32..a5cb354c9 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