naywatch: warn user

Naywatch in combination with the watchdog can be tricky and dangerous
when doing a sysupgrade. Add a warning to always stop naywatch first and
check if procd took control over the watchdog again.

Also change use_watchdog to '0'.

Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
Nick Hainke 2021-11-15 19:22:56 +01:00
parent 9e7698f20d
commit 3336ecd33c
2 changed files with 7 additions and 2 deletions

View File

@ -23,7 +23,12 @@ define Package/naywatch
endef
define Package/naywatch/description
Reboots or triggers watchdog if no link local neighbor is available.
Reboots or triggers watchdog if no link-local neighbor is available.
Important:
Be careful when you do a sysupgrade. Stop naywatch first, and make
sure procd took control again of the watchdog.
You can do this using 'ubus call system watchdog'. Status should be "running".
endef
define Package/naywatch/conffiles

View File

@ -1,7 +1,7 @@
config naywatch general
option check_interval '50'
option watchdog_timeout '60'
option use_watchdog '1'
option use_watchdog '0'
option save_logs '1'
list interface 'lan'
list interface 'wan'