Add basic HDMI output control scripts.
This commit is contained in:
parent
69249dea4a
commit
5a76ee34b8
3
dist/display-off.sh
vendored
Executable file
3
dist/display-off.sh
vendored
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
sudo tvservice -o > /dev/null
|
||||||
3
dist/display-on.sh
vendored
Executable file
3
dist/display-on.sh
vendored
Executable 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
|
||||||
Loading…
Reference in New Issue
Block a user