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