Welcome, Guest. Please login or register.

Author Topic: CLI write  (Read 1180 times)

mueller-dv

  • Newbie
  • *
  • Posts: 19
    • View Profile
CLI write
« on: October 13, 2022, 03:42:45 pm »
I am trying to use the CLI write (devwrite.pm)
to save the config on a switch.
Login and the command are working till the switch is asking me:

The configuration file primary.cfg already exists.
Do you want to save configuration to primary.cfg and overwrite it? (y/N)

How can i say "YES" in the cmd_file?

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2907
    • View Profile
    • NeDi
Re: CLI write
« Reply #1 on: March 23, 2023, 10:03:24 am »
Sorry for the late answer. Try command;y;0
« Last Edit: March 23, 2023, 04:13:36 pm by rickli »
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo