Created
December 21, 2017 21:09
-
-
Save h4cc/4161d696bc68b9dc1a116eea92a71893 to your computer and use it in GitHub Desktop.
ambipi.txt
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
AmbiPI:/ # cat /storage/hyperion-black-screen.sh | |
#!/bin/bash | |
if [ `service hyperion status | grep running | wc -l` = 1 ] | |
then | |
hyperion-remote -c black | |
sleep 3 | |
sudo service hyperion stop | |
else | |
sudo service hyperion start | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment