Update display-on.sh

This commit is contained in:
Jiří Houžvička 2021-09-13 20:05:11 +02:00 committed by GitHub
parent cdfbf367a6
commit 5bf2b26fbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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