mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
add global-functions
This commit is contained in:
parent
7e9252064e
commit
9c3f3b9f20
3 changed files with 8 additions and 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
|
||||
|
|
|
@ -76,3 +76,4 @@
|
|||
# Do *NOT* change these!
|
||||
:global "sent-routeros-update-notification" "-";
|
||||
:global "identity" [ / system identity get name ];
|
||||
/ system script run global-functions;
|
||||
|
|
6
global-functions
Normal file
6
global-functions
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!rsc
|
||||
# RouterOS script: global-functions
|
||||
# Copyright (c) 2013-2018 Christian Hesse <mail@eworm.de>
|
||||
#
|
||||
# global functions
|
||||
|
Loading…
Reference in a new issue