mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Merge pull request #178 from swedishmike/hdmi_scripts
Added hdmion/hdmioff scripts
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user