diff options
56 files changed, 59 insertions, 59 deletions
diff --git a/accesslist-duplicates.capsman b/accesslist-duplicates.capsman index e8d99e6..30cd809 100644 --- a/accesslist-duplicates.capsman +++ b/accesslist-duplicates.capsman @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: accesslist-duplicates.capsman # Copyright (c) 2018-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/accesslist-duplicates.local b/accesslist-duplicates.local index c310fea..4ac98f2 100644 --- a/accesslist-duplicates.local +++ b/accesslist-duplicates.local @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: accesslist-duplicates.local # Copyright (c) 2018-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/accesslist-duplicates.template b/accesslist-duplicates.template index 1edf700..c38dd47 100644 --- a/accesslist-duplicates.template +++ b/accesslist-duplicates.template @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: accesslist-duplicates%TEMPL% # Copyright (c) 2018-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/bridge-port-to-default b/bridge-port-to-default index 55d383a..4db04e8 100644 --- a/bridge-port-to-default +++ b/bridge-port-to-default @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: bridge-port-to-default # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/bridge-port-toggle b/bridge-port-toggle index e3967bd..1aa6b75 100644 --- a/bridge-port-toggle +++ b/bridge-port-toggle @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: bridge-port-toggle # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/capsman-download-packages b/capsman-download-packages index a314163..8a5b465 100644 --- a/capsman-download-packages +++ b/capsman-download-packages @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: capsman-download-packages # Copyright (c) 2018-2020 Christian Hesse <mail@eworm.de> # Michael Gisbers <michael@gisbers.de> diff --git a/capsman-rolling-upgrade b/capsman-rolling-upgrade index 61552f5..2868214 100644 --- a/capsman-rolling-upgrade +++ b/capsman-rolling-upgrade @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: capsman-rolling-upgrade # Copyright (c) 2018-2020 Christian Hesse <mail@eworm.de> # Michael Gisbers <michael@gisbers.de> diff --git a/certificate-renew-issued b/certificate-renew-issued index 27eec51..50cabe7 100644 --- a/certificate-renew-issued +++ b/certificate-renew-issued @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: certificate-renew-issued # Copyright (c) 2019-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/check-certificates b/check-certificates index 6152e2d..ced2a69 100644 --- a/check-certificates +++ b/check-certificates @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: check-certificates # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/check-health b/check-health index 33ad59f..86df9ea 100644 --- a/check-health +++ b/check-health @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: check-health # Copyright (c) 2019-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/check-lte-firmware-upgrade b/check-lte-firmware-upgrade index b4ca5d3..d31ed37 100644 --- a/check-lte-firmware-upgrade +++ b/check-lte-firmware-upgrade @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: check-lte-firmware-upgrade # Copyright (c) 2018-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/check-routeros-update b/check-routeros-update index 073ed96..13262f3 100644 --- a/check-routeros-update +++ b/check-routeros-update @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: check-routeros-update # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/cloud-backup b/cloud-backup index 1511062..eb3267d 100644 --- a/cloud-backup +++ b/cloud-backup @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: cloud-backup # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/collect-wireless-mac.capsman b/collect-wireless-mac.capsman index e44f387..a9a331e 100644 --- a/collect-wireless-mac.capsman +++ b/collect-wireless-mac.capsman @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: collect-wireless-mac.capsman # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/collect-wireless-mac.local b/collect-wireless-mac.local index 8d23317..d6be32d 100644 --- a/collect-wireless-mac.local +++ b/collect-wireless-mac.local @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: collect-wireless-mac.local # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/collect-wireless-mac.template b/collect-wireless-mac.template index 655fd47..18d4185 100644 --- a/collect-wireless-mac.template +++ b/collect-wireless-mac.template @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: collect-wireless-mac%TEMPL% # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/daily-psk.capsman b/daily-psk.capsman index 5ae2f5e..a60f41d 100644 --- a/daily-psk.capsman +++ b/daily-psk.capsman @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: daily-psk.capsman # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # Michael Gisbers <michael@gisbers.de> diff --git a/daily-psk.local b/daily-psk.local index 4cc728c..0d098a0 100644 --- a/daily-psk.local +++ b/daily-psk.local @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: daily-psk.local # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # Michael Gisbers <michael@gisbers.de> diff --git a/daily-psk.template b/daily-psk.template index 3c23139..f462fe2 100644 --- a/daily-psk.template +++ b/daily-psk.template @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: daily-psk%TEMPL% # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # Michael Gisbers <michael@gisbers.de> diff --git a/dhcp-lease-comment.capsman b/dhcp-lease-comment.capsman index 7e1dce1..6cd026a 100644 --- a/dhcp-lease-comment.capsman +++ b/dhcp-lease-comment.capsman @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: dhcp-lease-comment.capsman # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/dhcp-lease-comment.local b/dhcp-lease-comment.local index e20a137..f55931c 100644 --- a/dhcp-lease-comment.local +++ b/dhcp-lease-comment.local @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: dhcp-lease-comment.local # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/dhcp-lease-comment.template b/dhcp-lease-comment.template index 2971036..b594324 100644 --- a/dhcp-lease-comment.template +++ b/dhcp-lease-comment.template @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: dhcp-lease-comment%TEMPL% # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/dhcp-to-dns b/dhcp-to-dns index 3a95eb6..ddda171 100644 --- a/dhcp-to-dns +++ b/dhcp-to-dns @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: dhcp-to-dns # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/early-errors b/early-errors index 4f411f4..e6160e8 100644 --- a/early-errors +++ b/early-errors @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: early-errors :global LogPrintExit; diff --git a/email-backup b/email-backup index 994a56a..8f4fdc1 100644 --- a/email-backup +++ b/email-backup @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: email-backup # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/global-config b/global-config index 90686a1..b3c5879 100644 --- a/global-config +++ b/global-config @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: global-config # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/global-config-overlay b/global-config-overlay index c1f55da..358e5ae 100644 --- a/global-config-overlay +++ b/global-config-overlay @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: global-config-overlay # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/global-functions b/global-functions index 69add43..ad07a9c 100644 --- a/global-functions +++ b/global-functions @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: global-functions # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # Michael Gisbers <michael@gisbers.de> @@ -533,11 +533,11 @@ :foreach Script in=$Scripts do={ :if ([ :len [ / system script find where name=$Script ] ] = 0) do={ $LogPrintExit info ("Adding new script: " . $Script) false; - / system script add name=$Script source="#!rsc"; + / system script add name=$Script source="#!rsc by RouterOS\n"; } } - :foreach Script in=[ / system script find where source~"^#!rsc" ] do={ + :foreach Script in=[ / system script find where source~"^#!rsc( by RouterOS)\?\n" ] do={ :local Ignore 0; :local ScriptVal [ / system script get $Script ]; :local ScriptFile [ / file find where name=("script-updates/" . $ScriptVal->"name") ]; @@ -597,7 +597,7 @@ } :if ([ :len $SourceNew ] > 0) do={ - :if ([ :pick $SourceNew 0 5 ] = "#!rsc") do={ + :if ([ :pick $SourceNew 0 18 ] = "#!rsc by RouterOS\n") do={ :if ($SourceNew != $ScriptVal->"source") do={ :local DontRequirePermissions \ ($SourceNew~"\n# requires: dont-require-permissions=yes\n"); diff --git a/global-wait b/global-wait index f911593..fe19151 100644 --- a/global-wait +++ b/global-wait @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: global-wait # Copyright (c) 2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: gps-track # Copyright (c) 2018-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/hotspot-to-wpa b/hotspot-to-wpa index 8603d56..7951ed0 100644 --- a/hotspot-to-wpa +++ b/hotspot-to-wpa @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: hotspot-to-wpa # Copyright (c) 2019-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/ip-addr-bridge b/ip-addr-bridge index 9bc7ef8..9d2a281 100644 --- a/ip-addr-bridge +++ b/ip-addr-bridge @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: ip-addr-bridge # Copyright (c) 2018-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/ipv6-update b/ipv6-update index ecca490..4fdda3d 100644 --- a/ipv6-update +++ b/ipv6-update @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: ipv6-update # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/learn-mac-based-vlan b/learn-mac-based-vlan index 690bec4..d497714 100644 --- a/learn-mac-based-vlan +++ b/learn-mac-based-vlan @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: learn-mac-based-vlan # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/lease-script b/lease-script index 2b097c4..fe4bd11 100644 --- a/lease-script +++ b/lease-script @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: lease-script # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/leds-day-mode b/leds-day-mode index 74d826d..b2f37d3 100644 --- a/leds-day-mode +++ b/leds-day-mode @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: leds-day-mode # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/leds-night-mode b/leds-night-mode index d394f49..a4e48fa 100644 --- a/leds-night-mode +++ b/leds-night-mode @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: leds-night-mode # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/leds-toggle-mode b/leds-toggle-mode index 16a31ae..e817b1b 100644 --- a/leds-toggle-mode +++ b/leds-toggle-mode @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: leds-toggle-mode # Copyright (c) 2018-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/log-forward b/log-forward index 40afbe6..59a47c1 100644 --- a/log-forward +++ b/log-forward @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: log-forward # Copyright (c) 2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/manage-umts b/manage-umts index 2813786..663c1dc 100644 --- a/manage-umts +++ b/manage-umts @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: manage-umts # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/mode-button-event b/mode-button-event index 246a9fd..7039852 100644 --- a/mode-button-event +++ b/mode-button-event @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: mode-button-event # Copyright (c) 2018-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/mode-button-scheduler b/mode-button-scheduler index fe04b40..6c1f554 100644 --- a/mode-button-scheduler +++ b/mode-button-scheduler @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: mode-button-scheduler # Copyright (c) 2018-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/netwatch-notify b/netwatch-notify index e47f715..61bb348 100644 --- a/netwatch-notify +++ b/netwatch-notify @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: netwatch-notify # Copyright (c) 2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/netwatch-syslog b/netwatch-syslog index 3f71a7b..374173a 100644 --- a/netwatch-syslog +++ b/netwatch-syslog @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: netwatch-syslog # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/packages-update b/packages-update index 097b8d4..976a8a0 100644 --- a/packages-update +++ b/packages-update @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: packages-update # Copyright (c) 2019-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: ppp-on-up # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: rotate-ntp # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/script-updates b/script-updates index 1da4987..be79f58 100644 --- a/script-updates +++ b/script-updates @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: script-updates :global LogPrintExit; @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: sms-action # Copyright (c) 2018-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/sms-forward b/sms-forward index 13ba8bd..753cb0a 100644 --- a/sms-forward +++ b/sms-forward @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: sms-forward # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/ssh-keys-import b/ssh-keys-import index 07d5253..d4795d7 100644 --- a/ssh-keys-import +++ b/ssh-keys-import @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: ssh-keys-import # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/super-mario-theme b/super-mario-theme index 7e1a0d7..6b2ea74 100644 --- a/super-mario-theme +++ b/super-mario-theme @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: super-mario-theme # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/unattended-lte-firmware-upgrade b/unattended-lte-firmware-upgrade index 55d5fa6..e84188b 100644 --- a/unattended-lte-firmware-upgrade +++ b/unattended-lte-firmware-upgrade @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: unattended-lte-firmware-upgrade # Copyright (c) 2018-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/update-gre-address b/update-gre-address index 3339b02..c4d1dda 100644 --- a/update-gre-address +++ b/update-gre-address @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: update-gre-address # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md diff --git a/update-tunnelbroker b/update-tunnelbroker index a3c66eb..a503df0 100644 --- a/update-tunnelbroker +++ b/update-tunnelbroker @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: update-tunnelbroker # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # Michael Gisbers <michael@gisbers.de> diff --git a/upload-backup b/upload-backup index 95d31b3..3c09b58 100644 --- a/upload-backup +++ b/upload-backup @@ -1,4 +1,4 @@ -#!rsc +#!rsc by RouterOS # RouterOS script: upload-backup # Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md |