Created
May 30, 2020 19:23
-
-
Save cirrusUK/21759185ef2033eb5cf98dfa69d35fed to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
## script to blink the led on thinkpads | |
sudo chmod 666 /sys/class/leds/tpacpi\:\:thinklight/brightness | |
sudo echo 255 > /sys/class/leds/tpacpi\:\:thinklight/brightness | |
sleep 1 | |
sudo echo 0 > /sys/class/leds/tpacpi\:\:thinklight/brightness | |
sleep 1 | |
sudo echo 255 > /sys/class/leds/tpacpi\:\:thinklight/brightness | |
sleep 1 | |
sudo echo 0 > /sys/class/leds/tpacpi\:\:thinklight/brightness | |
sleep 1 | |
sudo echo 255 > /sys/class/leds/tpacpi\:\:thinklight/brightness | |
sleep 1 | |
sudo echo 0 > /sys/class/leds/tpacpi\:\:thinklight/brightness | |
exit | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment