I know I can turn off the power and activity leds with echo 0 >/sys/class/leds/led0/brightness and echo 0 >/sys/class/leds/led1/brightness
Anyway to do this at each boot. I’m looking for a /etc/rc.local to write the command to, but can’t find it, and the system won’t let me write to that location
@andrema2 said:
Hi I’m having the exactly same problem. I added the file on /storage/.config/etc/ but after a reboot it still on. Can anyone give me a hint ?
@cbjerg said:
I know I can turn off the power and activity leds with echo 0 >/sys/class/leds/led0/brightness and echo 0 >/sys/class/leds/led1/brightness
Anyway to do this at each boot. I’m looking for a /etc/rc.local to write the command to, but can’t find it, and the system won’t let me write to that location
You do not want rc.local, don’t know where that came from!
However, I’ve done some research for you both and this is the way to do it.
SSH in to the RPi and use nano to create a file in /storage/.config named autostart.sh and add the following line: