I’ve been looking the wiki for the nesseccery commands I need to activate the dark-mode (turn off LEDs using the MODE button) on a RBcAPGi-5acD2nD, that I had just reset to no defaults. I couldn’t find anything, so I had to reset again to defaults to get it.
So, just in case if anyone ever needs it again, I will put it here.
/system script
add comment=defconf dont-require-permissions=no name=dark-mode owner=jimmyz policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source="\r\
\n :if ([system leds settings get all-leds-off] = \"never\") do={\r\
\n /system leds settings set all-leds-off=immediate \r\
\n } else={\r\
\n /system leds settings set all-leds-off=never \r\
\n }\r\
\n "
/system routerboard mode-button
set enabled=yes on-event="system script run dark-mode"
If it is correct, maybe someone of the admins can publish it under Device Information
Thank you !
Hello Friend!
That was exactly what I was needing, but in my RB it didn’t work (760iGS)
It only deactivates the blue power led, the activity LEDs on the ether ports remain on, as well as the PoE Out.
Do you have any idea what I can modify?