From 8cb3e1c8d5b49471879b0cf0378950844cbf913c Mon Sep 17 00:00:00 2001 From: strasharo Date: Sun, 27 Oct 2019 10:38:28 +0200 Subject: [PATCH] Don't disable display output for DVI as well Some people are attaching DVI displays through an adapter. --- builder/pwnagotchi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/pwnagotchi.yml b/builder/pwnagotchi.yml index fa33289..daa9070 100644 --- a/builder/pwnagotchi.yml +++ b/builder/pwnagotchi.yml @@ -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