From: Nick Hainke Date: Mon, 15 Nov 2021 18:22:56 +0000 (+0100) Subject: naywatch: warn user X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ce0b8b1e553ed749e398d8122f7cc5a0692d7372;p=feed%2Frouting.git 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 --- diff --git a/naywatch/Makefile b/naywatch/Makefile index 288f162..f79890f 100644 --- a/naywatch/Makefile +++ b/naywatch/Makefile @@ -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 diff --git a/naywatch/files/naywatch.config b/naywatch/files/naywatch.config index 27147a6..b25e1f2 100644 --- a/naywatch/files/naywatch.config +++ b/naywatch/files/naywatch.config @@ -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'