This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://raspberrypi.stackexchange.com/questions/117632/turn-off-external-leds-on-raspberry-pi-3 | |
# check model | |
cat /sys/firmware/devicetree/base/model | |
# Raspberry Pi 3 Model B Rev 1.2 | |
# Disable Power (red) and Activity (yellow) leds | |
sudo nano /etc/rc.local | |
# Add the following lines before `exit 0`: | |
sudo sh -c 'echo none > /sys/class/leds/led0/trigger' |