From 5a420e6183fd8e003e261f0349a1487ce315b10e Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 26 Mar 2021 10:29:10 +0100 Subject: [PATCH] fix(watchdog): shellcheck for modules.d/04watchdog --- modules.d/04watchdog/.shchkdir | 0 modules.d/04watchdog/watchdog.sh | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 modules.d/04watchdog/.shchkdir diff --git a/modules.d/04watchdog/.shchkdir b/modules.d/04watchdog/.shchkdir new file mode 100644 index 00000000..e69de29b diff --git a/modules.d/04watchdog/watchdog.sh b/modules.d/04watchdog/watchdog.sh index 48adb3db..22919eeb 100755 --- a/modules.d/04watchdog/watchdog.sh +++ b/modules.d/04watchdog/watchdog.sh @@ -2,10 +2,10 @@ if [ -e /dev/watchdog ]; then if [ ! -e /tmp/watchdog_timeout ]; then wdctl -s 60 /dev/watchdog > /dev/null 2>&1 - > /tmp/watchdog_timeout + : > /tmp/watchdog_timeout fi info "Triggering watchdog" - > /dev/watchdog + : > /dev/watchdog else modprobe ib700wdt modprobe i6300esb