From b66364d716979848cc0f1f058ce6ba4920a2572d Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 20 Mar 2023 13:32:39 +0100 Subject: doc/netwatch-notify: prevent escaping code in hook by creating a script --- doc/netwatch-notify.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/netwatch-notify.md') diff --git a/doc/netwatch-notify.md b/doc/netwatch-notify.md index 99335a1..6df233b 100644 --- a/doc/netwatch-notify.md +++ b/doc/netwatch-notify.md @@ -55,6 +55,9 @@ Also there is a `pre-down-hook` that fires at two thirds of failed checks required for the notification. The idea is to fix the issue before a notification is sent. +Getting the escaping right may be troublesome. Please consider adding a +script in `/system/script`, then running that from hook. + ### Count threshould The count threshould (default is 5 checks) is configurable as well: -- cgit v1.2.3-54-g00ecf