Page 1 of 2

[App] SamyGO Watchdog.

Posted: Thu Apr 16, 2015 6:50 pm
by sectroyer
You can use this script if you have disabled watchdog but you still want to have similar features with SamyGO :)
To enable simply run:

Code: Select all

/tmp/watchdog.sh &
If you want (temporary) stop watchdog run:

Code: Select all

/tmp/watchdog.sh stop

Re: [App] SamyGO Watchdog.

Posted: Thu Apr 16, 2015 10:30 pm
by leikli
I looked at the script. Why does it sleep for 300 seconds at a time? Would it not be better with a much shorter time, like one second?

I miss the watchdog sometimes, like when I am testing PVRDecoder. Would this script help when the TV hangs?

Re: [App] SamyGO Watchdog.

Posted: Fri Apr 17, 2015 8:03 am
by sectroyer
leikli wrote:I looked at the script. Why does it sleep for 300 seconds at a time? Would it not be better with a much shorter time, like one second?
Well with shorter time you have less time to STOP it from restarting. I often want to be able to do that :) Anyway you can set it to any value :)
leikli wrote:
I miss the watchdog sometimes, like when I am testing PVRDecoder. Would this script help when the TV hangs?
Yeah it would shutdown TV :)

Re: [App] SamyGO Watchdog.

Posted: Fri Apr 17, 2015 1:55 pm
by zoelechat
I just understood... It's "No_Need_to_Unplug_from_the_Wall.sh", that's it? :D
You asked me to mirror, but is it really needed on all series? My E always ends up in powering off, even if I need to press power for 10-20 seconds sometimes. And most of the time it does it by itself :)

Re: [App] SamyGO Watchdog.

Posted: Fri Apr 17, 2015 4:46 pm
by sectroyer
zoelechat wrote:I just understood... It's "No_Need_to_Unplug_from_the_Wall.sh", that's it? :D
You asked me to mirror, but is it really needed on all series? My E always ends up in powering off, even if I need to press power for 10-20 seconds sometimes. And most of the time it does it by itself :)
Well it all depends if yo want to have your "normal" watchdog :) I want to have my own which I can control :)

Re: [App] SamyGO Watchdog.

Posted: Wed Apr 22, 2015 9:16 am
by leikli
sectroyer wrote:
leikli wrote:
I miss the watchdog sometimes, like when I am testing PVRDecoder. Would this script help when the TV hangs?
Yeah it would shutdown TV :)
It does not work for me when the TV hangs/stops responding. I still have to pull the plug. I changed both sleep times in the script to 1.

Re: [App] SamyGO Watchdog.

Posted: Wed Apr 22, 2015 10:12 am
by sectroyer
leikli wrote: It does not work for me when the TV hangs/stops responding. I still have to pull the plug. I changed both sleep times in the script to 1.
Did you put /tmp/watchdog.sh & in some init script so it's started on every boot. And do you copy watchdog.sh on EVERY BOOT to /tmp/. Or use some other autostart mechanism?

Re: [App] SamyGO Watchdog.

Posted: Wed Apr 22, 2015 10:32 am
by zoelechat

Re: [App] SamyGO Watchdog.

Posted: Wed Apr 22, 2015 11:19 am
by leikli
sectroyer wrote:
leikli wrote: It does not work for me when the TV hangs/stops responding. I still have to pull the plug. I changed both sleep times in the script to 1.
Did you put /tmp/watchdog.sh & in some init script so it's started on every boot. And do you copy watchdog.sh on EVERY BOOT to /tmp/. Or use some other autostart mechanism?
I copied the script after every boot, whenever I tested it. I have not automated the startup.

If the script had worked the way I wanted, where would have been the best place to put it?

Re: [App] SamyGO Watchdog.

Posted: Wed Apr 22, 2015 11:37 am
by sectroyer
leikli wrote: I copied the script after every boot, whenever I tested it. I have not automated the startup.
And you started it every time ? Did you wait enough?
leikli wrote: If the script had worked the way I wanted, where would have been the best place to put it?
Any place you line and any place it works :)