diff options
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | global-config | 1 | ||||
-rw-r--r-- | global-functions | 6 |
3 files changed, 8 insertions, 0 deletions
@@ -76,6 +76,7 @@ Always make sure there are no certificates installed you do not know or want! Now let's download the main scripts and add them in configuration on the fly. [admin@MikroTik] > / system script add name=global-config source=([ / tool fetch check-certificate=yes-without-crl "https://git.eworm.de/cgit.cgi/routeros-scripts/plain/global-config" output=user as-value]->"data") + [admin@MikroTik] > / system script add name=global-functions source=([ / tool fetch check-certificate=yes-without-crl "https://git.eworm.de/cgit.cgi/routeros-scripts/plain/global-functions" output=user as-value]->"data") [admin@MikroTik] > / system script add name=script-updates source=([ / tool fetch check-certificate=yes-without-crl "https://git.eworm.de/cgit.cgi/routeros-scripts/plain/script-updates" output=user as-value]->"data") The configuration needs to be tweaked for your needs. Make sure not to send diff --git a/global-config b/global-config index 91c9e74..53ad29e 100644 --- a/global-config +++ b/global-config @@ -76,3 +76,4 @@ # Do *NOT* change these! :global "sent-routeros-update-notification" "-"; :global "identity" [ / system identity get name ]; +/ system script run global-functions; diff --git a/global-functions b/global-functions new file mode 100644 index 0000000..e28a20e --- /dev/null +++ b/global-functions @@ -0,0 +1,6 @@ +#!rsc +# RouterOS script: global-functions +# Copyright (c) 2013-2018 Christian Hesse <mail@eworm.de> +# +# global functions + |