Welcome, Guest. Please login or register.

Author Topic: How to turn off devwrite safety?  (Read 849 times)

Westy_87

  • Newbie
  • *
  • Posts: 14
    • View Profile
How to turn off devwrite safety?
« on: March 12, 2024, 07:07:17 am »
I am trying to send a command to multiple switches ('dir flash:apps') but I get the following output

(Lines Receive) ERR:Safety on! Remove only (devwrite), if you know what you are doing and take full responsibility!!!

I never had this on my old nedi install and I can't work out how to enable devwrite.

Westy_87

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: How to turn off devwrite safety?
« Reply #1 on: March 13, 2024, 12:34:01 am »
Ok, I found it.

var/nedi/inc/ is the file devwrite.pl

Towards the bottom is the line with the Safety on! statement. Hash that and unhash the next line.

I would post code examples but the forum blocks me when I try that, so keeping it semi vague.

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2901
    • View Profile
    • NeDi
Re: How to turn off devwrite safety?
« Reply #2 on: March 15, 2024, 10:02:29 am »
Yepp, you got it!

I know the security restrictions can be annoying, but it's still better than being hacked ;)
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo