Skip to content

Commit

Permalink
remove screenrc and firmware upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed May 23, 2023
1 parent bd5ade8 commit e92c887
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions builder/pwnagotchi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,42 +304,42 @@
remote_src: yes
mode: 0755

- name: clone nexmon-pi-zero-2w repository
git:
repo: https://github.com/aluminum-ice/nexmon-pi-zero-2w.git
dest: /usr/local/src/nexmon-pi-zero-2w
register: nexmongit
# - name: clone nexmon-pi-zero-2w repository
# git:
# repo: https://github.com/aluminum-ice/nexmon-pi-zero-2w.git
# dest: /usr/local/src/nexmon-pi-zero-2w
# register: nexmongit

- name: Execute deployment script
command: chdir=/usr/local/src/nexmon-pi-zero-2w/bin ./deploy.sh
# - name: Execute deployment script
# command: chdir=/usr/local/src/nexmon-pi-zero-2w/bin ./deploy.sh

- name: Delete nexmon-pi-zero-2w content & directory
file:
state: absent
path: /usr/local/src/nexmon-pi-zero-2w
when: nexmongit.changed
# - name: Delete nexmon-pi-zero-2w content & directory
# file:
# state: absent
# path: /usr/local/src/nexmon-pi-zero-2w
# when: nexmongit.changed

# Install screenrc configuration
- name: clone screenrc repository
git:
repo: https://github.com/aluminum-ice/screenrc.git
dest: /usr/local/src/screenrc
register: screenrcgit

- name: create /home/pi/.screenrc
copy:
src: /usr/local/src/screenrc/.screenrc
dest: /home/pi/.screenrc
owner: pi
group: pi
mode: '0644'
when: screenrcgit.changed

- name: Delete screenrc content & directory
file:
state: absent
path: /usr/local/src/screenrc/
when: screenrcgit.changed
# - name: clone screenrc repository
# git:
# repo: https://github.com/aluminum-ice/screenrc.git
# dest: /usr/local/src/screenrc
# register: screenrcgit

# - name: create /home/pi/.screenrc
# copy:
# src: /usr/local/src/screenrc/.screenrc
# dest: /home/pi/.screenrc
# owner: pi
# group: pi
# mode: '0644'
# when: screenrcgit.changed

# - name: Delete screenrc content & directory
# file:
# state: absent
# path: /usr/local/src/screenrc/
# when: screenrcgit.changed

- name: Add pwnlog alias
lineinfile:
Expand Down

0 comments on commit e92c887

Please sign in to comment.