aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/au1000
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-12-18 18:42:49 +0100
committerMathias Kresin <dev@kresin.me>2018-02-16 14:44:02 +0100
commitc4ac02ffca4e8b9ffe8c702abf4de4063d3097e6 (patch)
tree854076c9f353118fd6615c45c8af4b65116d6fd2 /target/linux/au1000
parenteae60031749056bbea235c8f99ffd57a7d4c0e00 (diff)
downloadupstream-c4ac02ffca4e8b9ffe8c702abf4de4063d3097e6.tar.gz
upstream-c4ac02ffca4e8b9ffe8c702abf4de4063d3097e6.tar.bz2
upstream-c4ac02ffca4e8b9ffe8c702abf4de4063d3097e6.zip
treewide: remove obsolete sysupgrade watchdog kill
The watchdog kill command was meant for busybox watchdog. Busybox watchdog was replaced by the procd watchdog mid 2013 with commit df7ce9301a25 ("busybox: disable the watchdog utility by default"), which makes the kill command obsolete since quite some time. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/au1000')
-rw-r--r--target/linux/au1000/base-files/lib/upgrade/platform.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/target/linux/au1000/base-files/lib/upgrade/platform.sh b/target/linux/au1000/base-files/lib/upgrade/platform.sh
index 1a9d151c8a..7beb4a0d06 100644
--- a/target/linux/au1000/base-files/lib/upgrade/platform.sh
+++ b/target/linux/au1000/base-files/lib/upgrade/platform.sh
@@ -24,13 +24,3 @@ platform_do_upgrade() {
get_image "$1" | tar -Oxvf - $KERNEL_IMG | mtd write - "kernel"
get_image "$1" | tar -Oxvf - $ROOTFS_IMG | mtd $conf write - "rootfs"
}
-
-disable_watchdog() {
- killall watchdog
- ( ps | grep -v 'grep' | grep '/dev/watchdog' ) && {
- echo 'Could not disable watchdog'
- return 1
- }
-}
-
-append sysupgrade_pre_upgrade disable_watchdog