aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-01-18 12:53:17 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-01-18 12:53:17 +0100
commit8a0a4c355b4804913fa117917e8ac3686db91fc2 (patch)
tree8125c01202471b99b031ff97ef9d6ae5933d351d
parentbb0c82adb365a0ce04e83b2bebd1cc39b8ee3542 (diff)
global-functions: log successful loading
-rw-r--r--global-functions.rsc5
1 files changed, 5 insertions, 0 deletions
diff --git a/global-functions.rsc b/global-functions.rsc
index 3d66259..adfea2e 100644
--- a/global-functions.rsc
+++ b/global-functions.rsc
@@ -1500,5 +1500,10 @@
}
}
+# Log success
+:local Resource [ /system/resource/get ];
+$LogPrintOnce info $0 ("Loaded on " . $Resource->"board-name" . \
+ " with RouterOS " . $Resource->"version" . ".") false;
+
# signal we are ready
:set GlobalFunctionsReady true;