mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-07-09 10:51:33 +00:00
Compare commits
2 commits
72660f21a5
...
b7a5402be6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b7a5402be6 | ||
|
|
28b1297a43 |
2 changed files with 10 additions and 1 deletions
9
global-functions.d/deprecated.rsc
Normal file
9
global-functions.d/deprecated.rsc
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!rsc by RouterOS
|
||||||
|
# RouterOS script: global-functions.d/deprecated
|
||||||
|
# Copyright (c) 2013-2026 Christian Hesse <mail@eworm.de>
|
||||||
|
# https://rsc.eworm.de/COPYING.md
|
||||||
|
#
|
||||||
|
# requires RouterOS, version=7.17
|
||||||
|
#
|
||||||
|
# deprecated global functions
|
||||||
|
# https://rsc.eworm.de/
|
||||||
|
|
@ -1397,7 +1397,7 @@
|
||||||
source=[ $IfThenElse ($ScriptUpdatesCRLF = true) $SourceCRLF $SourceNew ] $Script;
|
source=[ $IfThenElse ($ScriptUpdatesCRLF = true) $SourceCRLF $SourceNew ] $Script;
|
||||||
:if ($ScriptVal->"name" = "global-config" || \
|
:if ($ScriptVal->"name" = "global-config" || \
|
||||||
$ScriptVal->"name" = "global-functions" || \
|
$ScriptVal->"name" = "global-functions" || \
|
||||||
$ScriptVal->"name" ~ ("^mod/.")) do={
|
$ScriptVal->"name" ~ ("^(global-functions\\.d|mod)/.")) do={
|
||||||
:set ReloadGlobal true;
|
:set ReloadGlobal true;
|
||||||
}
|
}
|
||||||
} on-error={ }
|
} on-error={ }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue