Merge pull request #155 from Houzvicka/master

Removing tvservice
This commit is contained in:
Jarno Rantanen 2021-12-28 19:41:31 +02:00 committed by GitHub
commit 5dfdc961bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -1,3 +1,3 @@
#!/bin/bash
sudo tvservice -p > /dev/null && sudo chvt 2 && sudo chvt 1 # for whatever reason, cycling virtual terminals helps wake up the display in some cases
sudo vcgencmd display_power 1 > /dev/null