aboutsummaryrefslogtreecommitdiffstats
path: root/check-routeros-update
diff options
context:
space:
mode:
Diffstat (limited to 'check-routeros-update')
-rw-r--r--check-routeros-update6
1 files changed, 4 insertions, 2 deletions
diff --git a/check-routeros-update b/check-routeros-update
index ba420da..4d1cf8f 100644
--- a/check-routeros-update
+++ b/check-routeros-update
@@ -22,7 +22,8 @@
:if ([ / system package print count-only where name="wireless" disabled=no ] > 0) do={
:if ([ / interface wireless cap get enabled ] = true && \
[ / caps-man manager get enabled ] = false) do={
- :error "System is managed by CAPsMAN, not checking.";
+ :log warning "System is managed by CAPsMAN, not checking.";
+ :error "Warning: See log for details.";
}
}
@@ -64,8 +65,9 @@
}
:if ($SentRouterosUpdateNotification = $LatestVersion) do={
- :error ("Already sent the RouterOS update notification for version " . \
+ :log info ("Already sent the RouterOS update notification for version " . \
$LatestVersion . ".");
+ :error "Already sent notification.";
}
$SendNotification ("RouterOS update notification") \