Community discussions

MikroTik App
 
DanH
just joined
Topic Author
Posts: 11
Joined: Mon Jul 18, 2011 2:13 am

Feature request: Confirmation=no

Tue Oct 14, 2014 7:36 pm

Please consider adding the option to suppress confirmations in the CLI.

For example.
/system reboot
returns
Reboot, yes? [y/N]:
This causes unnecessary trouble when automating tasks. A remote server would not easily be able to SSH in and perform a reboot as it requires the confirmation.
Yes I know there are long ways around this such as making a reboot script, etc.

It would be a more elegant solution to simply be able to execute the following command:
/system reboot confirmation=no
It would be appreciated to have a suppress confirmation for all commands that have confirmations.
 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2400
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: Feature request: Confirmation=no

Tue Oct 14, 2014 7:52 pm

Yes I know there are long ways around this such as making a reboot script, etc.
How long is
/execute "/system reboot"
really?

It's only one character longer than
/system reboot confirm=no
(0 if you're at the root menu, and omit the leading "/")

Who is online

Users browsing this forum: Google [Bot], rplant and 119 guests