I have a RevPi Connect+ V1.0, and I am trying to take advantage of the watchdog feature. The tutorial shows the following:
As well as:You can find the file “watchdog.sh” in the directory “/etc/rc.local”.
Quick note: I think this needs to be ">/dev/null"You can execute the script by typing the following command in the command line:
/home/pi/connect/revpi-connect-watchdog.sh/>dev/null_&
However, I have neither the /connect directory nor the /rc.local directory. I am using the image that came with the RevPi Connect+ on startup (I have not flashed a new image), and I can successfully use piTest to access these bits, though I would prefer to use a .sh script for use in a cron job or similar, so I would like to see the example.
I have also tried to find the .sh scripts in the github repositories for the project, but they do not seem to be there. I managed to write a script in C to do what I need, though, again, I would much rather use a bash script.
If that script could be made available, I would appreciate it. Thanks.