Browse Source

fix(watchdog): shellcheck for modules.d/04watchdog

master
Harald Hoyer 4 years ago committed by Harald Hoyer
parent
commit
5a420e6183
  1. 0
      modules.d/04watchdog/.shchkdir
  2. 4
      modules.d/04watchdog/watchdog.sh

0
modules.d/04watchdog/.shchkdir

4
modules.d/04watchdog/watchdog.sh

@ -2,10 +2,10 @@ @@ -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

Loading…
Cancel
Save