diff options
author | Mathias Kresin <dev@kresin.me> | 2017-12-18 18:42:49 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-02-16 14:44:02 +0100 |
commit | c4ac02ffca4e8b9ffe8c702abf4de4063d3097e6 (patch) | |
tree | 854076c9f353118fd6615c45c8af4b65116d6fd2 /target/linux/ixp4xx | |
parent | eae60031749056bbea235c8f99ffd57a7d4c0e00 (diff) | |
download | openwrt-c4ac02ffca4e8b9ffe8c702abf4de4063d3097e6.tar.gz openwrt-c4ac02ffca4e8b9ffe8c702abf4de4063d3097e6.tar.bz2 openwrt-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/ixp4xx')
-rw-r--r-- | target/linux/ixp4xx/base-files/lib/upgrade/platform.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/target/linux/ixp4xx/base-files/lib/upgrade/platform.sh b/target/linux/ixp4xx/base-files/lib/upgrade/platform.sh index e1e43cf19a..92eeaffef6 100644 --- a/target/linux/ixp4xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ixp4xx/base-files/lib/upgrade/platform.sh @@ -135,15 +135,3 @@ platform_do_upgrade() { ;; esac } - -disable_watchdog() { - v "killing watchdog" - killall watchdog - ( ps | grep -v 'grep' | grep '/dev/watchdog' ) && { - echo 'Could not disable watchdog' - return 1 - } -} - -# CONFIG_WATCHDOG_NOWAYOUT=y - can't kill watchdog unless kernel cmdline has a mpcore_wdt.nowayout=0 -#append sysupgrade_pre_upgrade disable_watchdog |