sudo su
echo 0 > /sys/class/leds/rockpis:green:power/brightness
Howto: Turn off Green Led
Still using my Rock Pi S nowadays, but don’t like to turn off the LED lights manually after every reboot.
Here’s how you can do it automatically:
-
sudo systemctl enable rc-local
-
On Armbian you might get the error that unit files have no installation config. If so
sudo nano /usr/lib/systemd/system/rc-local.service
and add the following at the end of the file.[Install]
WantedBy=multi-user.targetRepeat step 1
-
sudo systemctl start rc-local.service
-
To make sure it is up and running use the below command.
sudo systemctl status rc-local.service
-
sudo nano /etc/rc.local
Add these lines before exit 0
echo 0 > /sys/class/leds/rockpis:green:power/brightness
echo 0 > /sys/class/leds/rockpis:blue:user/brightness
Hi there,
I’ve followed this guide and it works, but I’m wondering if you have managed to find a way to turn off the lights associated with the Ethernet port as well? It appears that there’s one LED which is always on, and another which flashed, problably when packets are being processed. Thanks!