Howto: Turn off Green Led

sudo su

echo 0 > /sys/class/leds/rockpis:green:power/brightness

3 Likes

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:

  1. sudo systemctl enable rc-local

  2. 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.target

    Repeat step 1

  3. sudo systemctl start rc-local.service

  4. To make sure it is up and running use the below command.
    sudo systemctl status rc-local.service

  5. 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

1 Like

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!