Mijzelf hat geschrieben:
You can change the value in /usr/local/zy-pkgs/gui/Tweaks/plugins/shutdown.sh. Somewhere in this file you can find the line which is added to crontab. Search for "* * *". After having changed the file, disable and enable Tweaks to get it live.
And I can also add a GUI option, but it's not clear to me why anybody would want to change this value. What makes 10 minutes better than 5, in this context?
Well, especially for the ping watchdog I would call this a very useful feature. Like in my scenario where I use this utility to check if the server is already shut down by UPS. If the interval is set too short then a simple restart of the server would lead to a shutdown of the NSA. If the interval is set too long then it might happen that the UPS runs already out of battery before the NSA has a chance to ping the server again to check if it's down. And these interval times depend heavily on your setup and devices and therefore need some tweaking.
Also the delay and fail count options that you can see here
make sense for me. That allows you to not shut down the NSA immediately if the desired IP cannot be reached on the first try. Thats useful if you have some trouble with your network that causes a short loss of connection, like accidentally patched a loop, replace or reboot a Switch ..
So it is supposed to work this way: if after a regular interval-check a host cannot be reached by ping, a failure counter is started and a second (shorter) timer checks the hosts availability on the network repeatedly. If after the desired value of failure counts the host is still down then the shutdown is finally initiated.
I not consider TP-Link as highend network equipment but the guys there had something on their mind when they implemented the function this way.