mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-24 04:44:26 +02:00
log-forward: use :jobname to get script name
This commit is contained in:
parent
b4d666ef1d
commit
4653c94f3f
1 changed files with 3 additions and 1 deletions
|
@ -3,10 +3,12 @@
|
|||
# Copyright (c) 2020-2024 Christian Hesse <mail@eworm.de>
|
||||
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
|
||||
#
|
||||
# requires RouterOS, version=7.12
|
||||
#
|
||||
# forward log messages via notification
|
||||
# https://git.eworm.de/cgit/routeros-scripts/about/doc/log-forward.md
|
||||
|
||||
:local 0 "log-forward";
|
||||
:local 0 [ :jobname ];
|
||||
:global GlobalFunctionsReady;
|
||||
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue