2018-01-09 16:42:55 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
watchdog_kick() {
|
|
|
|
while true; do
|
|
|
|
for wd in /dev/watchdog*; do
|
|
|
|
[ -c $wd ] && echo X > $wd
|
|
|
|
done
|
|
|
|
|
2023-03-06 07:24:55 +00:00
|
|
|
# /usr/share/mkinitfs/hooks/00-device-nokia-rm696.sh: line 12: sleep: not found
|
2018-01-09 16:42:55 +00:00
|
|
|
if [ -f /bin/sleep ]; then
|
|
|
|
/bin/sleep 2s
|
|
|
|
else
|
|
|
|
return 0
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
watchdog_kick &
|