diff options
-rw-r--r-- | doc/netwatch-notify.md | 2 | ||||
-rw-r--r-- | netwatch-notify.rsc | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/netwatch-notify.md b/doc/netwatch-notify.md index 6df233b..efae5cf 100644 --- a/doc/netwatch-notify.md +++ b/doc/netwatch-notify.md @@ -3,6 +3,8 @@ Notify on host up and down [⬅️ Go back to main README](../README.md) +[![required RouterOS version](https://img.shields.io/badge/RouterOS-7.9beta4-yellow?style=flat)](https://mikrotik.com/download/changelogs/) + > ℹ️ **Info**: This script can not be used on its own but requires the base > installation. See [main README](../README.md) for details. diff --git a/netwatch-notify.rsc b/netwatch-notify.rsc index 910fb73..15a17b2 100644 --- a/netwatch-notify.rsc +++ b/netwatch-notify.rsc @@ -3,6 +3,8 @@ # Copyright (c) 2020-2023 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md # +# requires RouterOS, version=7.9beta4 +# # monitor netwatch and send notifications # https://git.eworm.de/cgit/routeros-scripts/about/doc/netwatch-notify.md @@ -54,10 +56,6 @@ $ScriptLock $0; :local ScriptFromTerminalCached [ $ScriptFromTerminal $0 ]; -:if ([ /system/resource/get uptime ] < 5m) do={ - $LogPrintExit2 info $0 ("System just booted, giving netwatch some time to settle.") true; -} - :if ([ :typeof $NetwatchNotify ] = "nothing") do={ :set NetwatchNotify ({}); } |