Don't disable display output for DVI as well

Some people are attaching DVI displays through an adapter.
This commit is contained in:
strasharo 2019-10-27 10:38:28 +02:00 committed by GitHub
parent 441bd905a5
commit 8cb3e1c8d5
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