Watchdog shuts down instead of restarting

Hi guys,
I have an USB watchdog installed and it doesn’t really work as it should.
The system recognizes it and when I intentionally test it by upping the minimum hashrate it will restart the computer as it should.
However, when left alone and the system actually starts crashing for real, it shuts down completely or just freezes. It doesn’t do the restart like it does with my forced hashrate example.

When I first installed the watchdog I edited the hl340.sh file because a youtube video told me to, and I’m kind of a noob to this stuff. I figured if it restarts with a low hashrate then it should be all good. Not sure if that could be it.

Any suggestions? How can I restore the original hl340.sh file just to try it out. Are there maybe some settings I am not taking into account? Thanks