Merge pull request #430 from strasharo/patch-2

Don't disable display output for DVI as well. fixes #429
This commit is contained in:
evilsocket 2019-10-27 12:54:03 +01:00 committed by GitHub
commit 18957c6ad3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -371,7 +371,7 @@
path: /etc/rc.local
insertbefore: "exit 0"
block: |
if ! /opt/vc/bin/tvservice -s | grep HDMI; then
if ! /opt/vc/bin/tvservice -s | egrep 'HDMI|DVI'; then
/opt/vc/bin/tvservice -o
fi