#!/bin/sh

#/usr/bin/killall watchdogd watchdog
touch /var/log/onfailure.noboot
systemctl stop watchdog
/sbin/watchdog -t 1 /dev/watchdog
sleep 1
if [ "$1" == "-w" ]; then
    exit 0
fi
