blob: 22919eeb483fda6d1b4dcd6db0ec46f8a166fbb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
if [ -e /dev/watchdog ]; then
if [ ! -e /tmp/watchdog_timeout ]; then
wdctl -s 60 /dev/watchdog > /dev/null 2>&1
: > /tmp/watchdog_timeout
fi
info "Triggering watchdog"
: > /dev/watchdog
else
modprobe ib700wdt
modprobe i6300esb
fi
|