From 56d76533534d8d4727993cb5252316e561a3c6e3 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Sun, 5 Jun 2016 13:55:29 +0300 Subject: [PATCH] do not stop the watchdog at reboot/poweroff --- board/common/overlay/etc/init.d/S10watchdog | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/board/common/overlay/etc/init.d/S10watchdog b/board/common/overlay/etc/init.d/S10watchdog index 8018a92651..2ef0f11278 100755 --- a/board/common/overlay/etc/init.d/S10watchdog +++ b/board/common/overlay/etc/init.d/S10watchdog @@ -10,15 +10,19 @@ case "$1" in watchdog -t 5 /dev/watchdog test $? == 0 && msg_done || msg_fail ;; - + stop) + true + ;; + + reallystop) msg_begin "Stopping watchdog" killall watchdog &>/dev/null test $? == 0 && msg_done || msg_fail ;; *) - echo $"Usage: $0 {start|stop}" + echo $"Usage: $0 {start|reallystop}" exit 1 esac