Add basic HDMI output control scripts.

This commit is contained in:
Jarno Rantanen 2016-01-23 13:20:09 +02:00
parent 69249dea4a
commit 5a76ee34b8
2 changed files with 6 additions and 0 deletions

3
dist/display-off.sh vendored Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
sudo tvservice -o > /dev/null

3
dist/display-on.sh vendored Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
sudo tvservice -p > /dev/null && sudo chvt 1 && sudo chvt 8 # cycling virtual terminals helps wake up the display