Community discussions

MikroTik App

Search found 2 matches

by duleorlovic
Fri Mar 02, 2018 3:52 pm
Forum: Scripting
Topic: How to reset-configuration command with script
Replies: 1
Views: 28827

Re: How to reset-configuration command with script

I managed to bypass this prompt using ftp and automatic import
https://wiki.mikrotik.com/wiki/Manual:C ... tic_Import

So my script (that contains
/system reset-configuration
was renamed to
my_script.auto.rsc
.

Once I upload using ftp it will reset without any question :)
by duleorlovic
Fri Mar 02, 2018 3:48 pm
Forum: Scripting
Topic: how to handle y/n response in .rsc script
Replies: 8
Views: 5390

Re: how to handle y/n response in .rsc script

Prompt was removed when running commands from scripts for a very long time now. When I run /import some_script.rsc I got prompt on my Windbox 6.38.7 [admin@MikroTik] > /import flash/reset.rsc Dangerous! Reset anyway? [y/N]: n action cancelled Script file loaded and executed successfully and reset.r...