Created
July 26, 2022 11:52
-
-
Save franzbischoff/5dae7df4b055747c39de31f46ba9a03f to your computer and use it in GitHub Desktop.
Cubietruck tricks
This file contains hidden or 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
#!/bin/bash | |
# Description: | |
# This turns off all the annoying leds that makes your cubietruck looks like a christmas tree | |
# original from https://karellen.blogspot.com/2015/07/turning-off-leds-on-cubietruck.html | |
find /sys/devices/platform/leds-sunxi/ -name "brightness" | sed s'/:/\\:/g' | while read l; do echo 0 > "$l"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment