From 377197fdb390370169d7b23829b0f4637f623840 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Mon, 7 May 2018 20:51:13 +0200 Subject: [PATCH] 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 --- target/linux/ath79/base-files/lib/upgrade/platform.sh | 10 ---------- 1 file changed, 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 -- 2.30.2