aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-05-07 20:51:13 +0200
committerMathias Kresin <dev@kresin.me>2018-05-17 07:40:19 +0200
commit377197fdb390370169d7b23829b0f4637f623840 (patch)
tree7d2ac3e05ba8b7289b0d2157c44425d841a9a8e8 /target
parent0ff5785c5d5e57d99acb8da06d2c08903448b663 (diff)
downloadupstream-377197fdb390370169d7b23829b0f4637f623840.tar.gz
upstream-377197fdb390370169d7b23829b0f4637f623840.tar.bz2
upstream-377197fdb390370169d7b23829b0f4637f623840.zip
ath79: sysupgrade: 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')
-rw-r--r--target/linux/ath79/base-files/lib/upgrade/platform.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/target/linux/ath79/base-files/lib/upgrade/platform.sh b/target/linux/ath79/base-files/lib/upgrade/platform.sh
index b2b55e64e3..88c09410e7 100644
--- a/target/linux/ath79/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ath79/base-files/lib/upgrade/platform.sh
@@ -212,13 +212,3 @@ platform_do_upgrade() {
;;
esac
}
-
-disable_watchdog() {
- killall watchdog
- ( ps | grep -v 'grep' | grep '/dev/watchdog' ) && {
- echo 'Could not disable watchdog'
- return 1
- }
-}
-
-append sysupgrade_pre_upgrade disable_watchdog