Merge pull request #178 from swedishmike/hdmi_scripts

Added hdmion/hdmioff scripts
This commit is contained in:
evilsocket 2019-10-06 12:27:11 +02:00 committed by GitHub
commit 79e03f7881
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -291,6 +291,22 @@
#!/usr/bin/env bash
ifconfig mon0 down && iw dev mon0 del
- name: create hdmion script
copy:
dest: /usr/bin/hdmion
mode: 0755
content: |
#!/usr/bin/env bash
sudo /opt/vc/bin/tvservice -p
- name: create hdmioff script
copy:
dest: /usr/bin/hdmioff
mode: 0755
content: |
#!/usr/bin/env bash
sudo /opt/vc/bin/tvservice -o
- name: configure rc.local
blockinfile:
path: /etc/rc.local