Merge pull request #178 from swedishmike/hdmi_scripts
Added hdmion/hdmioff scripts
This commit is contained in:
commit
79e03f7881
@ -291,6 +291,22 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
ifconfig mon0 down && iw dev mon0 del
|
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
|
- name: configure rc.local
|
||||||
blockinfile:
|
blockinfile:
|
||||||
path: /etc/rc.local
|
path: /etc/rc.local
|
||||||
|
Loading…
x
Reference in New Issue
Block a user