mirror of
https://github.com/furaihan/simple-mikrotik-script.git
synced 2025-06-24 23:18:39 +02:00
remove c# function and add a first setup configuration
This commit is contained in:
parent
8018bb5ef7
commit
d12e254432
2 changed files with 6 additions and 6 deletions
|
@ -1,9 +1,4 @@
|
||||||
#using System;
|
global cpuarray ([/system resource get value-name=cpu-load])
|
||||||
#using System.Reflection;
|
|
||||||
#using System.ComponentModel;
|
|
||||||
#using System.Threading;
|
|
||||||
|
|
||||||
global cpuarray ([/system resource get value-name=cpu-load])
|
|
||||||
local isInternetConnected
|
local isInternetConnected
|
||||||
local rebootIfHigh false
|
local rebootIfHigh false
|
||||||
local setup do={
|
local setup do={
|
||||||
|
|
5
first-setup
Normal file
5
first-setup
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#Add a new scheduler setting with folowwing event:
|
||||||
|
#Change telegram chat id below with your own
|
||||||
|
:global CHATID ("-4936xxx")
|
||||||
|
#Change telegram bot id below with your own
|
||||||
|
:global BOTID ("62xxxxxxxx:AAExxxx")
|
Loading…
Add table
Add a link
Reference in a new issue