Skip to content
Search…
Search
Quick links
Unanswered topics
Active topics
Search
FAQ
Active topics
Active topics
Forum
Quick links
Unanswered topics
Active topics
Search
FAQ
Active topics
Active topics
Forum
Search…
Search
Register
Login
Remember me
MikroTik
Community discussions
Announcements
RouterOS
Beginner Basics
General
Forwarding Protocols
Wireless Networking
Scripting
Virtualization
Useful user articles
RouterOS beta
Other topics
The Dude
RouterBOARD hardware
The User Manager
SwOS
Training
Containers
Home
Forum index
RouterOS
General
dealing with the y/n prompt using "system reset-configuration" in an imported file?
Post Reply
Print view
pants6000
Frequent Visitor
Topic Author
Posts:
86
Joined:
Fri Sep 26, 2014 5:30 am
dealing with the y/n prompt using "system reset-configuration" in an imported file?
Quote
#1
Wed Nov 09, 2022 12:23 am
I want to "/system reset-configuration" from a file that I am "/importing" under ROS 7.6.
Is there a way to skip the "dangerous! Reset anyway?" prompt when that command is in an imported file like this?
Top
rextended
Forum Guru
Posts:
11968
Joined:
Tue Feb 25, 2014 12:49 pm
Location:
Italy
Contact:
Contact rextended
Website
Re: dealing with the y/n prompt using "system reset-configuration" in an imported file?
Quote
#2
Wed Nov 09, 2022 1:15 am
replace "/system reset....etc." with
[:execute "/system reset....etc."]
Top
pants6000
Frequent Visitor
Topic Author
Posts:
86
Joined:
Fri Sep 26, 2014 5:30 am
Re: dealing with the y/n prompt using "system reset-configuration" in an imported file?
Quote
#3
Wed Nov 09, 2022 4:05 am
Perfect, thank you!
My two-touch provisioning system is down to one-touch now!
Top
Display posts from previous:
All posts
1 day
7 days
2 weeks
1 month
3 months
6 months
1 year
Sort by
Author
Post time
Subject
Ascending
Descending
Post Reply
Print view
Who is online
Users browsing this forum:
keyfersk8
,
Lumpy
,
Pincha3
,
warenbe
and 92 guests
Announcements
RouterOS
Beginner Basics
General
Forwarding Protocols
Wireless Networking
Scripting
Virtualization
Useful user articles
RouterOS beta
Other topics
The Dude
RouterBOARD hardware
The User Manager
SwOS
Training
Containers
Home
Forum index
RouterOS
General
×