Initial Commit.

This commit is contained in:
Grzegorz Budny 2020-07-03 10:08:15 +02:00
parent e2a6c6e658
commit 830306a771
2 changed files with 25 additions and 0 deletions

11
RouterOS_Array_Append.rsc Normal file
View file

@ -0,0 +1,11 @@
# RouterOS Fucntion
# Copyright (c) Grzegorz Budny
# Version 1.0
# Last update: 2020-04-19 19:02:12
# Array append value wrapper
:global ArrayAppend do={
:set ($array->([:len $array])) $value;
}

View file

@ -0,0 +1,14 @@
# RouterOS Function
# Copyright (c) Grzegorz Budny
# Enables Console port
:global EnableConsole do={
/system console disable 0
/port set serial0 baud-rate=19200 data-bits=8 parity=none stop-bits=1
:log info "...:::Console Enabled. System needs to be rebooted:::..."
#/port set serial0 baud-rate=auto
}